API Reference > OdGe Classes > OdGeEllipArc3d Class > OdGeEllipArc3d Methods > intersectWith Method > OdGeEllipArc3d::intersectWith Method (OdGeLinearEnt3d&, int&, OdGePoint3d&, OdGePoint3d&, OdGeTol&)
OdGeEllipArc3d::intersectWith Method (OdGeLinearEnt3d&, int&, OdGePoint3d&, OdGePoint3d&, OdGeTol&)
Syntax
C++
bool intersectWith(const OdGeLinearEnt3d& line, int& numInt, OdGePoint3d& p1, OdGePoint3d& p2, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGeLinearEnt3d& line 
[in] A 3D linear entity with which the intersection is calculated.  
int& numInt 
[out] Receives the number of intersections.  
OdGePoint3d& p1 
[out] Receives the first intersection point of the elliptical arc.  
OdGePoint3d& p2 
[out] Receives the second intersection point of the elliptical arc.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

A boolean value that indicates whether a line intersects with an arc.

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

 

  • p1 is valid only if numInt > 0.
  • p2 is valid only if numInt > 1.

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