RhinoCommon API
CurveClosestPoints Method (Curve, Point3d, Point3d) |
Gets closest points between this and another curves.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool ClosestPoints( Curve otherCurve, out Point3d pointOnThisCurve, out Point3d pointOnOtherCurve )
Public Function ClosestPoints ( otherCurve As Curve, <OutAttribute> ByRef pointOnThisCurve As Point3d, <OutAttribute> ByRef pointOnOtherCurve As Point3d ) As Boolean
Parameters
- otherCurve
- Type: Rhino.GeometryCurve
The other curve. - pointOnThisCurve
- Type: Rhino.GeometryPoint3d
The point on this curve. This out parameter is assigned during this call. - pointOnOtherCurve
- Type: Rhino.GeometryPoint3d
The point on other curve. This out parameter is assigned during this call.
Return Value
Type: Booleantrue on success; false on error.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14