RhinoCommon API
CurveLocalClosestPoint Method |
Find parameter of the point on a curve that is locally closest to
the testPoint. The search for a local close point starts at
a seed parameter.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.18
public bool LocalClosestPoint( Point3d testPoint, double seed, out double t )
Public Function LocalClosestPoint ( testPoint As Point3d, seed As Double, <OutAttribute> ByRef t As Double ) As Boolean
Parameters
- testPoint
- Type: Rhino.GeometryPoint3d
A point to test against. - seed
- Type: SystemDouble
The seed parameter. - t
- Type: SystemDouble
>Parameter of the curve that is closest to testPoint.
Return Value
Type: Booleantrue if the search is successful, false if the search fails.