M_Rhino_Geometry_Curve_IsShort_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.IsShort Method (Double, Interval)

Used to quickly find short curves.

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

Syntax

C#

public bool IsShort(
	double tolerance,
	Interval subdomain
)

VB

Public Function IsShort ( 
	tolerance As Double,
	subdomain As Interval
) As Boolean

Parameters

 

tolerance
Type: System.Double
Length threshold value for "shortness".
subdomain
Type: Rhino.Geometry.Interval
The test is performed on the interval that is the intersection of subdomain with Domain()

Return Value

Type: Boolean
true if the length of the curve is <= tolerance.

Remarks

Faster than calling Length() and testing the result.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
IsShort Overload
Rhino.Geometry Namespace

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