API Reference > OdGe Classes > OdGeLinearEnt2d Class > OdGeLinearEnt2d Methods > OdGeLinearEnt2d::isColinearTo Method
OdGeLinearEnt2d::isColinearTo Method
Syntax
C++
bool isColinearTo(const OdGeLinearEnt2d& line, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGeLinearEnt2d& line 
[in] 2D linear entity that is tested for being collinear with this linear entity.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Returns true if and only if the specified linear entity is collinear to this one. 

 

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