Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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. More...

#include <Sweep_NumShapeTool.hxx>

Public Member Functions

 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.
 
int NbShapes () const
 Returns the number of subshapes in the shape.
 
int Index (const Sweep_NumShape &aShape) const
 Returns the index of <aShape>.
 
Sweep_NumShape Shape (const int 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>.
 
bool HasFirstVertex () const
 Returns true if there is a First Vertex in the Shape.
 
bool 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.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Sweep_NumShapeTool()

Sweep_NumShapeTool::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.

Member Function Documentation

◆ FirstVertex()

Sweep_NumShape Sweep_NumShapeTool::FirstVertex ( ) const

Returns the first vertex.

◆ HasFirstVertex()

bool Sweep_NumShapeTool::HasFirstVertex ( ) const

Returns true if there is a First Vertex in the Shape.

◆ HasLastVertex()

bool Sweep_NumShapeTool::HasLastVertex ( ) const

Returns true if there is a Last Vertex in the Shape.

◆ Index()

int Sweep_NumShapeTool::Index ( const Sweep_NumShape & aShape) const

Returns the index of <aShape>.

◆ LastVertex()

Sweep_NumShape Sweep_NumShapeTool::LastVertex ( ) const

Returns the last vertex.

◆ NbShapes()

int Sweep_NumShapeTool::NbShapes ( ) const

Returns the number of subshapes in the shape.

◆ Orientation()

TopAbs_Orientation Sweep_NumShapeTool::Orientation ( const Sweep_NumShape & aShape) const

Returns the orientation of <aShape>.

◆ Shape()

Sweep_NumShape Sweep_NumShapeTool::Shape ( const int anIndex) const

Returns the Shape at index anIndex.

◆ Type()

TopAbs_ShapeEnum Sweep_NumShapeTool::Type ( const Sweep_NumShape & aShape) const

Returns the type of <aShape>.


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