Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
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

DEFINE_STANDARD_ALLOC 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_Integer NbShapes () const
 Returns the number of subshapes in the shape.

Standard_Integer Index (const Sweep_NumShape &aShape) const
 Returns the index of <aShape>.

Sweep_NumShape Shape (const Standard_Integer anIndex) const
 Returns the Shape at index anIndex

TopAbs_ShapeEnum Type (const Sweep_NumShape &aShape) const
 Returns the type of <aShape>.

TopAbs_Orientation Orientation (const Sweep_NumShape &aShape) const
 Returns the orientation of <aShape>.

Standard_Boolean HasFirstVertex () const
 Returns true if there is a First Vertex in the Shape.

Standard_Boolean HasLastVertex () const
 Returns true if there is a Last Vertex in the Shape.

Sweep_NumShape FirstVertex () const
 Returns the first vertex.

Sweep_NumShape LastVertex () const
 Returns the last vertex.


Constructor & Destructor Documentation


Member Function Documentation


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