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

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

 

An infinite line is returned, even if this curve is bounded. 

As implemented, this function does nothing but return false. It will be fully implemented in a future release.

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