API Reference > OdGe Classes > OdGeLinearEnt3d Class > OdGeLinearEnt3d Methods > intersectWith Method > OdGeLinearEnt3d::intersectWith Method (OdGeLinearEnt3d&, OdGePoint3d&, OdGeTol&)
OdGeLinearEnt3d::intersectWith Method (OdGeLinearEnt3d&, OdGePoint3d&, OdGeTol&)
Syntax
C++
bool intersectWith(const OdGeLinearEnt3d& line, OdGePoint3d& intPt, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGeLinearEnt3d& line 
[in] 3D linear entity with which an intersection is computed.  
OdGePoint3d& intPt 
[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 line intersects with this line. 

 

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