Curve.Distance
Method
Description:
Returns the shortest distance from the specified point to this curve.
Returns the shortest distance from the specified point to this curve.
Remarks:
Returns the distance from the closest point on the curve to the specified point.
Returns the distance from the closest point on the curve to the specified point.
Parameters
| Parameter | Type | Description |
|---|---|---|
| point | XYZ | The specified point. |
Return Value
| Type | Description |
|---|---|
| Double | The real number equal to the shortest distance. |
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown when failed to find the closest point on the curve. |