|
Public Member Functions |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | TopOpeBRepTool_ShapeExplorer () |
| Creates an empty explorer, becomes usefull after Init.
.
|
Standard_EXPORT | 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.
.
|
Standard_EXPORT void | Init (const TopoDS_Shape &S, const TopAbs_ShapeEnum ToFind, const TopAbs_ShapeEnum ToAvoid=TopAbs_SHAPE) |
Standard_EXPORT 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.
.
|
Standard_EXPORT const TopoDS_Shape & | Current () const |
| Returns the current shape in the exploration.
.
|
Standard_EXPORT Standard_Integer | NbShapes () const |
Standard_EXPORT Standard_Integer | Index () const |
Standard_EXPORT Standard_OStream & | DumpCurrent (Standard_OStream &OS) const |
Private Attributes |
TopExp_Explorer | myExplorer |
Standard_Integer | myIndex |
Standard_Integer | myNbShapes |