M_Rhino_Geometry_Curve_ClosestPoints - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.ClosestPoints Method (Curve, Point3d, Point3d)

Gets closest points between this and another curves.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool ClosestPoints(
	Curve otherCurve,
	out Point3d pointOnThisCurve,
	out Point3d pointOnOtherCurve
)

VB

Public Function ClosestPoints ( 
	otherCurve As Curve,
	<OutAttribute> ByRef pointOnThisCurve As Point3d,
	<OutAttribute> ByRef pointOnOtherCurve As Point3d
) As Boolean

Parameters

 

otherCurve
Type: Rhino.Geometry.Curve
The other curve.
pointOnThisCurve
Type: Rhino.Geometry.Point3d
The point on this curve. This out parameter is assigned during this call.
pointOnOtherCurve
Type: Rhino.Geometry.Point3d
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

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
ClosestPoints Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️