RhinoCommon API
CurveNormalizedLengthParameter Method (Double, Double, Double) |
Input the parameter of the point on the curve that is a prescribed arc length from the start of the curve.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool NormalizedLengthParameter( double s, out double t, double fractionalTolerance )
Public Function NormalizedLengthParameter ( s As Double, <OutAttribute> ByRef t As Double, fractionalTolerance As Double ) As Boolean
Parameters
- s
- Type: SystemDouble
Normalized arc length parameter. E.g., 0 = start of curve, 1/2 = midpoint of curve, 1 = end of curve. - t
- Type: SystemDouble
Parameter such that the length of the curve from its start to t is arc_length. - fractionalTolerance
- Type: SystemDouble
Desired fractional precision. fabs(("exact" length from start to t) - arc_length)/arc_length <= fractionalTolerance.
Return Value
Type: Booleantrue on success, false on failure.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8