M_Rhino_Geometry_Polyline_ClosestParameter - mcneel/rhinocommon-api-docs GitHub Wiki

Polyline.ClosestParameter Method

Gets the parameter along the polyline which is closest to a test-point.

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

Syntax

C#

public double ClosestParameter(
	Point3d testPoint
)

VB

Public Function ClosestParameter ( 
	testPoint As Point3d
) As Double

Parameters

 

testPoint
Type: Rhino.Geometry.Point3d
Point to approximate.

Return Value

Type: Double
The parameter along the polyline closest to testPoint.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Polyline Class
Rhino.Geometry Namespace

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