OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKBool
TopOpeBRepTool


TopOpeBRepTool_ShapeExplorer Class Reference

#include <TopOpeBRepTool_ShapeExplorer.hxx>


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


Constructor & Destructor Documentation

Standard_EXPORT TopOpeBRepTool_ShapeExplorer::TopOpeBRepTool_ShapeExplorer  ) 
 

Standard_EXPORT TopOpeBRepTool_ShapeExplorer::TopOpeBRepTool_ShapeExplorer const TopoDS_Shape &  S,
const TopAbs_ShapeEnum  ToFind,
const TopAbs_ShapeEnum  ToAvoid = TopAbs_SHAPE
 


Member Function Documentation

Standard_EXPORT const TopoDS_Shape& TopOpeBRepTool_ShapeExplorer::Current  )  const
 

Standard_EXPORT Standard_OStream& TopOpeBRepTool_ShapeExplorer::DumpCurrent Standard_OStream &  OS  )  const
 

Standard_EXPORT Standard_Integer TopOpeBRepTool_ShapeExplorer::Index  )  const
 

Standard_EXPORT void TopOpeBRepTool_ShapeExplorer::Init const TopoDS_Shape &  S,
const TopAbs_ShapeEnum  ToFind,
const TopAbs_ShapeEnum  ToAvoid = TopAbs_SHAPE
 

Standard_EXPORT Standard_Boolean TopOpeBRepTool_ShapeExplorer::More  )  const
 

Standard_EXPORT Standard_Integer TopOpeBRepTool_ShapeExplorer::NbShapes  )  const
 

Standard_EXPORT void TopOpeBRepTool_ShapeExplorer::Next  ) 
 

void TopOpeBRepTool_ShapeExplorer::operator delete void *  anAddress  )  [inline]
 

void* TopOpeBRepTool_ShapeExplorer::operator new size_t  size  )  [inline]
 

void* TopOpeBRepTool_ShapeExplorer::operator new size_t  ,
void *  anAddress
[inline]
 


Field Documentation

TopExp_Explorer TopOpeBRepTool_ShapeExplorer::myExplorer [private]
 

Standard_Integer TopOpeBRepTool_ShapeExplorer::myIndex [private]
 

Standard_Integer TopOpeBRepTool_ShapeExplorer::myNbShapes [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:43:07 2008 for OpenCASCADE by  doxygen 1.4.1