Click or drag to resize

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)
Since: 5.0
Syntax
public bool LengthParameter(
	double segmentLength,
	out double t,
	Interval subdomain
)

Parameters

segmentLength
Type: SystemDouble
Length of segment to measure. Must be less than or equal to the length of the sub-domain.
t
Type: SystemDouble
Parameter such that the length of the curve from the start of the sub-domain 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.
See Also