Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Curve Class / IsLinear Method
The tolerance
The line where the curve lays

In This Topic
    IsLinear Method (Curve)
    In This Topic
    Test a curve to see if the locus of its points is a line segment.
    Syntax
    'Declaration
     
    Public Function IsLinear( _
       ByVal tolerance As Double, _
       ByRef line As Segment3D _
    ) As Boolean
    public bool IsLinear( 
       double tolerance,
       out Segment3D line
    )

    Parameters

    tolerance
    The tolerance
    line
    The line where the curve lays

    Return Value

    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's ends is <= tolerance
    See Also