Click or drag to resize

CurveIsShort Method (Double, Interval)

Used to quickly find short curves.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool IsShort(
	double tolerance,
	Interval subdomain
)

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 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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also