|CurveIsLinear Method (Double)|
Test a curve to see if it is linear to within the custom tolerance.
RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
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.