M_Rhino_Geometry_Curve_GetLength_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.GetLength Method (Interval)

Get the length of a sub-section of the curve with a fractional tolerance of 1e-8.

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

Syntax

C#

public double GetLength(
	Interval subdomain
)

VB

Public Function GetLength ( 
	subdomain As Interval
) As Double

Parameters

 

subdomain
Type: Rhino.Geometry.Interval
The calculation is performed on the specified sub-domain of the curve (must be non-decreasing).

Return Value

Type: Double
The length of the sub-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** ⚠️