API Reference > OdGe Classes > OdGeCircArc2d Class > OdGeCircArc2d Methods > intersectWith Method > OdGeCircArc2d::intersectWith Method (OdGeCircArc2d&, int&, OdGePoint2d&, OdGePoint2d&, OdGeTol&)
OdGeCircArc2d::intersectWith Method (OdGeCircArc2d&, int&, OdGePoint2d&, OdGePoint2d&, OdGeTol&)
Syntax
C++
bool intersectWith(const OdGeCircArc2d& circarc, int& numInt, OdGePoint2d& p1, OdGePoint2d& p2, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGeCircArc2d& circarc 
[in] Any 2D arc 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 arc 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.