Returns the shortest distance from the specified point to this curve.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic double Distance(
XYZ point
)
Public Function Distance (
point As XYZ
) As Double
public:
double Distance(
XYZ^ point
)
member Distance :
point : XYZ -> float
Parameters
- point XYZ
- The specified point.
Return Value
DoubleThe real number equal to the shortest distance.
Exceptions
RemarksReturns the distance from the closest point on the curve to the specified point.
See Also