CurveIsLinear Method (Double)
Test a curve to see if it is linear to within the custom tolerance.
RhinoCommon (in RhinoCommon.dll)
public bool IsLinear(
Public Function IsLinear (
tolerance As Double
) As Boolean
- Type: SystemDouble
Tolerance to use when checking linearity.
true if the ends of the curve are farther than tolerance apart
and the maximum distance from any point on the curve to
the line segment connecting the curve ends is <= tolerance.
Rhino for MacSupported in: 5.4
Rhino for WindowsSupported in: 6.27