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

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

Returns True if the specifed plane or linear entity intersects the elliptical 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.