M_Rhino_Geometry_Curve_LengthParameter_3 - mcneel/rhinocommon-api-docs GitHub Wiki
Gets the parameter along the curve which coincides with a given length along the curve.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool LengthParameter(
double segmentLength,
out double t,
double fractionalTolerance,
Interval subdomain
)
VB
Public Function LengthParameter (
segmentLength As Double,
<OutAttribute> ByRef t As Double,
fractionalTolerance As Double,
subdomain As Interval
) As Boolean
- segmentLength
- Type: System.Double
Length of segment to measure. Must be less than or equal to the length of the subdomain. - t
- Type: System.Double
Parameter such that the length of the curve from the start of the subdomain to t is s. - fractionalTolerance
- Type: System.Double
Desired fractional precision. fabs(("exact" length from start to t) - arc_length)/arc_length <= fractionalTolerance. - subdomain
- Type: Rhino.Geometry.Interval
The calculation is performed on the specified sub-domain of the curve rather than the whole curve.
Type: Boolean
true on success, false on failure.
Supported in: 6.0.16224.21491, 5D58w