| 
    Open CASCADE Technology 7.8.2.dev
    
   | 
 
Intersect two shapes. More...
#include <TopOpeBRep_ShapeIntersector2d.hxx>
Public Member Functions | |
| TopOpeBRep_ShapeIntersector2d () | |
| void | InitIntersection (const TopoDS_Shape &S1, const TopoDS_Shape &S2) | 
| Initialize the intersection of shapes S1,S2.   | |
| const TopoDS_Shape & | Shape (const Standard_Integer Index) const | 
| return the shape <Index> ( = 1 or 2) given to InitIntersection(). Index = 1 will return S1, Index = 2 will return S2.   | |
| Standard_Boolean | MoreIntersection () const | 
| returns True if there are more intersection between two the shapes.   | |
| void | NextIntersection () | 
| search for the next intersection between the two shapes.   | |
| TopOpeBRep_EdgesIntersector & | ChangeEdgesIntersector () | 
| return the current intersection of two Edges.   | |
| const TopoDS_Shape & | CurrentGeomShape (const Standard_Integer Index) const | 
| return geometric shape <Index> ( = 1 or 2 ) of current intersection.   | |
| void | DumpCurrent (const Standard_Integer K) const | 
| Standard_Integer | Index (const Standard_Integer K) const | 
Intersect two shapes.
A GeomShape is a shape with a geometric domain, i.e. a Face or an Edge.
The purpose of the ShapeIntersector2d is to find couples of intersecting GeomShape in two Shapes (which can be any kind of topologies : Compound, Solid, Shell, etc... )
It is in charge of exploration of the shapes and rejection. For this it is provided with two tools :
Let S1,S2 the shapes sent to InitIntersection(S1,S2) method :
| TopOpeBRep_ShapeIntersector2d::TopOpeBRep_ShapeIntersector2d | ( | ) | 
| TopOpeBRep_EdgesIntersector & TopOpeBRep_ShapeIntersector2d::ChangeEdgesIntersector | ( | ) | 
return the current intersection of two Edges.
| const TopoDS_Shape & TopOpeBRep_ShapeIntersector2d::CurrentGeomShape | ( | const Standard_Integer | Index | ) | const | 
return geometric shape <Index> ( = 1 or 2 ) of current intersection.
| void TopOpeBRep_ShapeIntersector2d::DumpCurrent | ( | const Standard_Integer | K | ) | const | 
| Standard_Integer TopOpeBRep_ShapeIntersector2d::Index | ( | const Standard_Integer | K | ) | const | 
| void TopOpeBRep_ShapeIntersector2d::InitIntersection | ( | const TopoDS_Shape & | S1, | 
| const TopoDS_Shape & | S2 | ||
| ) | 
Initialize the intersection of shapes S1,S2.
| Standard_Boolean TopOpeBRep_ShapeIntersector2d::MoreIntersection | ( | ) | const | 
returns True if there are more intersection between two the shapes.
| void TopOpeBRep_ShapeIntersector2d::NextIntersection | ( | ) | 
search for the next intersection between the two shapes.
| const TopoDS_Shape & TopOpeBRep_ShapeIntersector2d::Shape | ( | const Standard_Integer | Index | ) | const | 
return the shape <Index> ( = 1 or 2) given to InitIntersection(). Index = 1 will return S1, Index = 2 will return S2.