M_Rhino_Geometry_Curve_LengthParameter - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.LengthParameter Method (Double, Double)

Gets the parameter along the curve which coincides with a given length along the curve. A fractional tolerance of 1e-8 is used in this version of the function.

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

Syntax

C#

public bool LengthParameter(
	double segmentLength,
	out double t
)

VB

Public Function LengthParameter ( 
	segmentLength As Double,
	<OutAttribute> ByRef t As Double
) As Boolean

Parameters

 

segmentLength
Type: System.Double
Length of segment to measure. Must be less than or equal to the length of the curve.
t
Type: System.Double
Parameter such that the length of the curve from the curve start point to t equals length.

Return Value

Type: Boolean
true on success, false on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
LengthParameter Overload
Rhino.Geometry Namespace

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