Click or drag to resize

CurveIsLinear Method (Double)

Test a curve to see if it is linear to within the custom tolerance.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool IsLinear(
	double tolerance
)

Parameters

tolerance
Type: SystemDouble
Tolerance to use when checking linearity.

Return Value

Type: Boolean
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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also