API Reference > OdGe Classes > OdGeCircArc2d Class > OdGeCircArc2d Methods > intersectWith Method > OdGeCircArc2d::intersectWith Method (OdGeLinearEnt2d&, int&, OdGePoint2d&, OdGePoint2d&, OdGeTol&)
OdGeCircArc2d::intersectWith Method (OdGeLinearEnt2d&, int&, OdGePoint2d&, OdGePoint2d&, OdGeTol&)
Syntax
C++
bool intersectWith(const OdGeLinearEnt2d& line, int& numInt, OdGePoint2d& p1, OdGePoint2d& p2, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGeLinearEnt2d& line 
[in] Any 2D linear entity.  
int& numInt 
[out] Receives the number of intersections with this curve.  
OdGePoint2d& p1 
[out] Receives the first intersection point.  
OdGePoint2d& p2 
[out] Receives the second intersection point.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Returns True if the specified linear entity intersects the arc entity, and returns the number of intersections and points of intersection. 

 

  • p1 has meaning only if numInt > 0.
  • p2 has meaning only if numInt > 1.

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