API Reference > OdGe Classes > OdGeEllipArc2d Class > OdGeEllipArc2d Methods > OdGeEllipArc2d::intersectWith Method
OdGeEllipArc2d::intersectWith Method
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] A 2D linear entity that is tested for intersection with the ellipse.  
int& numInt 
[out] Number of intersection points.  
OdGePoint2d& p1 
[out] First intersection point.  
OdGePoint2d& p2 
[out] Second intersection point.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Tolerance for tangent intersections. 

A boolean value that indicates whether an intersection occurred.

Determines if the input line intersects the ellipse. 

 

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