Open CASCADE Technology 6.6.0
Public Member Functions
TopOpeBRepTool_ShapeExplorer Class Reference

#include <TopOpeBRepTool_ShapeExplorer.hxx>

Public Member Functions

 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

TopOpeBRepTool_ShapeExplorer::TopOpeBRepTool_ShapeExplorer ( )
TopOpeBRepTool_ShapeExplorer::TopOpeBRepTool_ShapeExplorer ( const TopoDS_Shape S,
const TopAbs_ShapeEnum  ToFind,
const TopAbs_ShapeEnum  ToAvoid = TopAbs_SHAPE 
)

Member Function Documentation

const TopoDS_Shape& TopOpeBRepTool_ShapeExplorer::Current ( ) const
Standard_OStream& TopOpeBRepTool_ShapeExplorer::DumpCurrent ( Standard_OStream OS) const
Standard_Integer TopOpeBRepTool_ShapeExplorer::Index ( ) const
void TopOpeBRepTool_ShapeExplorer::Init ( const TopoDS_Shape S,
const TopAbs_ShapeEnum  ToFind,
const TopAbs_ShapeEnum  ToAvoid = TopAbs_SHAPE 
)
Standard_Boolean TopOpeBRepTool_ShapeExplorer::More ( ) const
Standard_Integer TopOpeBRepTool_ShapeExplorer::NbShapes ( ) const
void TopOpeBRepTool_ShapeExplorer::Next ( )

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines