API Reference > OdGe Classes > OdGeCurve2d Class > OdGeCurve2d Methods > OdGeCurve2d::isLinear Method
OdGeCurve2d::isLinear Method
Syntax
C++
bool isLinear(OdGeLine2d& line, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
OdGeLine2d& line 
[out] Receives the line coincident with this curve.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Checks if this curve is linear.

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

Copyright © 2002–2020. Open Design Alliance. All rights reserved.