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

ModelingAlgorithms
TKPrim
BRepSweep


BRepSweep_Tool Class Reference

Provides the indexation and type analysis services
required by the TopoDS generating Shape of BRepSweep.

.

#include <BRepSweep_Tool.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepSweep_Tool (const TopoDS_Shape &aShape)
 Initialize the tool with <ashape>. The IndexTool
must prepare an indexation for all the subshapes
of this shape.
.
Standard_EXPORT Standard_Integer NbShapes () const
 Returns the number of subshapes in the shape.
.
Standard_EXPORT Standard_Integer Index (const TopoDS_Shape &aShape) const
 Returns the index of <ashape>.
.
Standard_EXPORT TopoDS_Shape Shape (const Standard_Integer anIndex) const
 Returns the Shape at Index anIdex.
.
Standard_EXPORT TopAbs_ShapeEnum Type (const TopoDS_Shape &aShape) const
 Returns the type of <ashape>.
.
Standard_EXPORT TopAbs_Orientation Orientation (const TopoDS_Shape &aShape) const
 Returns the Orientation of <ashape>.
.
Standard_EXPORT void SetOrientation (TopoDS_Shape &aShape, const TopAbs_Orientation Or) const
 Set the Orientation of <ashape> with Or.
.

Private Attributes

TopTools_IndexedMapOfShape myMap


Constructor & Destructor Documentation

Standard_EXPORT BRepSweep_Tool::BRepSweep_Tool const TopoDS_Shape &  aShape  ) 
 


Member Function Documentation

Standard_EXPORT Standard_Integer BRepSweep_Tool::Index const TopoDS_Shape &  aShape  )  const
 

Standard_EXPORT Standard_Integer BRepSweep_Tool::NbShapes  )  const
 

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

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

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

Standard_EXPORT TopAbs_Orientation BRepSweep_Tool::Orientation const TopoDS_Shape &  aShape  )  const
 

Standard_EXPORT void BRepSweep_Tool::SetOrientation TopoDS_Shape &  aShape,
const TopAbs_Orientation  Or
const
 

Standard_EXPORT TopoDS_Shape BRepSweep_Tool::Shape const Standard_Integer  anIndex  )  const
 

Standard_EXPORT TopAbs_ShapeEnum BRepSweep_Tool::Type const TopoDS_Shape &  aShape  )  const
 


Field Documentation

TopTools_IndexedMapOfShape BRepSweep_Tool::myMap [private]
 


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