Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
TopOpeBRepTool_ShapeExplorer Class Reference

#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_ShapeCurrent () const
 Returns the current shape in the exploration.

Standard_Integer NbShapes () const
Standard_Integer Index () const
Standard_OStreamDumpCurrent (Standard_OStream &OS) const

Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file: