M_Rhino_Geometry_Curve_IsShort_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Used to quickly find short curves.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool IsShort(
double tolerance,
Interval subdomain
)
VB
Public Function IsShort (
tolerance As Double,
subdomain As Interval
) As Boolean
- 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()
Type: Boolean
true if the length of the curve is <= tolerance.
Faster than calling Length() and testing the result.
Supported in: 6.0.16224.21491, 5D58w