Returns the distance from this point to the specified point.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public double DistanceTo(
XYZ source
)
Parameters
- source XYZ
- The specified point.
Return Value
DoubleThe real number equal to the distance between the two points.
Exceptions
Remarks
The distance between the two points is equal to the length of the vector
that joins the two points.
See Also
Reference