|
Open CASCADE Technology
6.5.4
|
#include <TopOpeBRepTool_ShapeExplorer.hxx>
Public Member Functions | |
| DEFINE_STANDARD_ALLOC | TopOpeBRepTool_ShapeExplorer () |
| Creates an empty explorer, becomes usefull after Init. | |
| TopOpeBRepTool_ShapeExplorer (const TopoDS_Shape &S, const TopAbs_ShapeEnum ToFind, const TopAbs_ShapeEnum ToAvoid=TopAbs_SHAPE) | |
| Creates an Explorer on the Shape <S>. <ToFind> is the type of shapes to search. TopAbs_VERTEX, TopAbs_EDGE, ... <ToAvoid> is the type of shape to skip in the exploration. If <ToAvoid> is equal or less complex than <ToFind> or if <ToAVoid> is SHAPE it has no effect on the exploration. | |
| void | Init (const TopoDS_Shape &S, const TopAbs_ShapeEnum ToFind, const TopAbs_ShapeEnum ToAvoid=TopAbs_SHAPE) |
| Standard_Boolean | More () const |
| Returns True if there are more shapes in the exploration. | |
| void | Next () |
| Moves to the next Shape in the exploration. | |
| const TopoDS_Shape & | Current () const |
| Returns the current shape in the exploration. | |
| Standard_Integer | NbShapes () const |
| Standard_Integer | Index () const |
| Standard_OStream & | DumpCurrent (Standard_OStream &OS) const |
| TopOpeBRepTool_ShapeExplorer::TopOpeBRepTool_ShapeExplorer | ( | const TopoDS_Shape & | S, |
| const TopAbs_ShapeEnum | ToFind, | ||
| const TopAbs_ShapeEnum | ToAvoid = TopAbs_SHAPE |
||
| ) |
| void TopOpeBRepTool_ShapeExplorer::Init | ( | const TopoDS_Shape & | S, |
| const TopAbs_ShapeEnum | ToFind, | ||
| const TopAbs_ShapeEnum | ToAvoid = TopAbs_SHAPE |
||
| ) |
1.8.0