Curve.ClosestPoints Method (Curve, Point3d, Point3d)

CurveClosestPoints Method (Curve, Point3d, Point3d)

Gets closest points between this and another curves.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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: Boolean
true on success; false on error.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also