Click or drag to resize

CurveIsShort Method (Double, Interval)

Used to quickly find short curves.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
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 sub-domain with Domain()

Return Value

Type: Boolean
true if the length of the curve is <= tolerance.
Remarks
Faster than calling Length() and testing the result.
See Also