M_Rhino_Geometry_Curve_GetLength_2 - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.GetLength Method (Double)

Get the length of the curve.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public double GetLength(
	double fractionalTolerance
)

VB

Public Function GetLength ( 
	fractionalTolerance As Double
) As Double

Parameters

 

fractionalTolerance
Type: System.Double
Desired fractional precision. fabs(("exact" length from start to t) - arc_length)/arc_length <= fractionalTolerance.

Return Value

Type: Double
The length of the curve on success, or zero on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
GetLength Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️