M_Rhino_Geometry_Curve_GetLength_3 - mcneel/rhinocommon-api-docs GitHub Wiki
Get the length of a sub-section of the curve.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public double GetLength(
double fractionalTolerance,
Interval subdomain
)
VB
Public Function GetLength (
fractionalTolerance As Double,
subdomain As Interval
) As Double
- 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 (must be non-decreasing).
Type: Double
The length of the sub-curve on success, or zero on failure.
Supported in: 6.0.16224.21491, 5D58w