RhinoCommon API
CurveIsShort Method (Double, Interval) |
Used to quickly find short curves.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public bool IsShort( double tolerance, Interval subdomain )
Public Function IsShort ( tolerance As Double, subdomain As Interval ) As Boolean
Parameters
- tolerance
- Type: SystemDouble
Length threshold value for "shortness". - subdomain
- Type: Rhino.GeometryInterval
The test is performed on the interval that is the intersection of sub-domain with Domain()
Return Value
Type: Booleantrue if the length of the curve is <= tolerance.

Faster than calling Length() and testing the result.
