Curve.LengthParameter Method (Double, Double, Interval)

CurveLengthParameter Method (Double, Double, Interval)

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)
Syntax
public bool LengthParameter(
	double segmentLength,
	out double t,
	Interval subdomain
)
Public Function LengthParameter ( 
	segmentLength As Double,
	<OutAttribute> ByRef t As Double,
	subdomain As Interval
) As Boolean

Parameters

segmentLength
Type: SystemDouble
Length of segment to measure. Must be less than or equal to the length of the subdomain.
t
Type: SystemDouble
Parameter such that the length of the curve from the start of the subdomain to t is s.
subdomain
Type: Rhino.GeometryInterval
The calculation is performed on the specified sub-domain of the curve rather than the whole curve.

Return Value

Type: Boolean
true on success, false on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also