Description:

Test a curve to see if it is linear to within RhinoMath.ZeroTolerance units (1e-12).

Syntax:
public Boolean IsLinear()
Returns:
Type: Boolean
True if the curve is linear.
Available since:
5.0

Description:

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

Syntax:
public Boolean IsLinear(
Double tolerance
)
Parameters:
  • tolerance
  • Type: System.Double
  • Tolerance to use when checking linearity.
Returns:
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.
Available since:
5.0

IsLinear method

Class:  Rhino.Geometry.Curve

Nothing found