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

ModelingAlgorithms
TKPrim
Sweep


Sweep_NumShapeTool Class Reference

This class provides the indexation and type analysis
services required by the NumShape Directing Shapes of
Swept Primitives.

.

#include <Sweep_NumShapeTool.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT Sweep_NumShapeTool (const Sweep_NumShape &aShape)
 Create a new NumShapeTool with <ashape>. The Tool
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 Sweep_NumShape &aShape) const
 Returns the index of <ashape>.
.
Standard_EXPORT Sweep_NumShape Shape (const Standard_Integer anIndex) const
 Returns the Shape at index anIndex
.
Standard_EXPORT TopAbs_ShapeEnum Type (const Sweep_NumShape &aShape) const
 Returns the type of <ashape>.
.
Standard_EXPORT TopAbs_Orientation Orientation (const Sweep_NumShape &aShape) const
 Returns the orientation of <ashape>.
.
Standard_EXPORT Standard_Boolean HasFirstVertex () const
 Returns true if there is a First Vertex in the Shape.
.
Standard_EXPORT Standard_Boolean HasLastVertex () const
 Returns true if there is a Last Vertex in the Shape.
.
Standard_EXPORT Sweep_NumShape FirstVertex () const
 Returns the first vertex.
.
Standard_EXPORT Sweep_NumShape LastVertex () const
 Returns the last vertex.
.

Private Attributes

Sweep_NumShape myNumShape


Constructor & Destructor Documentation

Standard_EXPORT Sweep_NumShapeTool::Sweep_NumShapeTool const Sweep_NumShape aShape  ) 
 


Member Function Documentation

Standard_EXPORT Sweep_NumShape Sweep_NumShapeTool::FirstVertex  )  const
 

Standard_EXPORT Standard_Boolean Sweep_NumShapeTool::HasFirstVertex  )  const
 

Standard_EXPORT Standard_Boolean Sweep_NumShapeTool::HasLastVertex  )  const
 

Standard_EXPORT Standard_Integer Sweep_NumShapeTool::Index const Sweep_NumShape aShape  )  const
 

Standard_EXPORT Sweep_NumShape Sweep_NumShapeTool::LastVertex  )  const
 

Standard_EXPORT Standard_Integer Sweep_NumShapeTool::NbShapes  )  const
 

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

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

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

Standard_EXPORT TopAbs_Orientation Sweep_NumShapeTool::Orientation const Sweep_NumShape aShape  )  const
 

Standard_EXPORT Sweep_NumShape Sweep_NumShapeTool::Shape const Standard_Integer  anIndex  )  const
 

Standard_EXPORT TopAbs_ShapeEnum Sweep_NumShapeTool::Type const Sweep_NumShape aShape  )  const
 


Field Documentation

Sweep_NumShape Sweep_NumShapeTool::myNumShape [private]
 


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