Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeCurve2d::isLinear Method
Syntax
C++
bool isLinear(OdGeLine2d& line, const OdGeTol& tol = OdGeContext::gTol) const;

Checks if this curve is linear.

Parameters
Description
line
[out] Receives the line coincident with this curve.
tol
[in] Geometric tolerance.

true if the curve is linear; false otherwise.

Returns true, and a linear entity coincident with this curve, if and only if this curve is linear.

Copyright © 2002-2022. Open Design Alliance All rights reserved.