#include <TopExp_Explorer.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| Standard_EXPORT | TopExp_Explorer () |
| Creates an empty explorer, becomes usefull after Init. . | |
| Standard_EXPORT | TopExp_Explorer (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. . | |
| Standard_EXPORT void | Init (const TopoDS_Shape &S, const TopAbs_ShapeEnum ToFind, const TopAbs_ShapeEnum ToAvoid=TopAbs_SHAPE) |
| Resets this explorer on the shape S. It is initialized to search the shape S, for shapes of type ToFind, that are not part of a shape ToAvoid. If the shape ToAvoid is equal to TopAbs_SHAPE, or if it is the same as, or less complex than, the shape ToFind it has no effect on the search. . | |
| Standard_Boolean | More () const |
| Returns True if there are more shapes in the exploration. . | |
| Standard_EXPORT void | Next () |
| Moves to the next Shape in the exploration. Exceptions Standard_NoMoreObject if there are no more shapes to explore. . | |
| Standard_EXPORT const TopoDS_Shape & | Current () const |
| Returns the current shape in the exploration. Exceptions Standard_NoSuchObject if this explorer has no more shapes to explore. . | |
| Standard_EXPORT void | ReInit () |
| Reinitialize the exploration with the original arguments. . | |
| Standard_Integer | Depth () const |
| Returns the current depth of the exploration. 0 is the shape to explore itself. . | |
| void | Clear () |
| Clears the content of the explorer. It will return False on More(). . | |
| Standard_EXPORT void | Destroy () |
| ~TopExp_Explorer () | |
Private Attributes | |
| TopExp_Stack | myStack |
| Standard_Integer | myTop |
| Standard_Integer | mySizeOfStack |
| TopoDS_Shape | myShape |
| Standard_Boolean | hasMore |
| TopAbs_ShapeEnum | toFind |
| TopAbs_ShapeEnum | toAvoid |
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.1