Curve2dIsLinear(Line2d, Tolerance) Method

Checks whether this curve is linear within a specified tolerance.

Namespace: Teigha.Geometry
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public bool IsLinear(
        out Line2d line,
        Tolerance tolerance
)

Parameters

line  Line2d
[out] Receives the line coincident with this curve.
tolerance  Tolerance
[in] Geometric tolerance.

Return Value

Boolean
true if this curve is linear, false otherwise.
Remarks
The line parameter cannot have a relevant data if the method returns false.
See Also

©  Bricsys NV. All rights reserved.