M_Rhino_Geometry_Curve_IsLinear_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Test a curve to see if it is linear to within the custom tolerance.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool IsLinear(
double tolerance
)
VB
Public Function IsLinear (
tolerance As Double
) As Boolean
- tolerance
- Type: System.Double
Tolerance to use when checking linearity.
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.
Supported in: 6.0.16224.21491, 5D58w