API Reference > OdGe Classes > OdGeLinearEnt2d Class > OdGeLinearEnt2d Methods > OdGeLinearEnt2d::intersectWith Method
OdGeLinearEnt2d::intersectWith Method
Syntax
C++
bool intersectWith(const OdGeLinearEnt2d& line, OdGePoint2d& intPnt, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGeLinearEnt2d& line 
[in] 2D linear entity with which the intersection is computed.  
OdGePoint2d& intPnt 
[out] Receives the intersection point.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Returns true and the intersection point, if and only if the specified linear entity intersects with this one. 

 

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