Open CASCADE Technology  7.7.0
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. More...
 
Standard_Integer NbShapes () const
 Returns the number of subshapes in the shape. More...
 
Standard_Integer Index (const Sweep_NumShape &aShape) const
 Returns the index of <aShape>. More...
 
Sweep_NumShape Shape (const Standard_Integer anIndex) const
 Returns the Shape at index anIndex. More...
 
TopAbs_ShapeEnum Type (const Sweep_NumShape &aShape) const
 Returns the type of <aShape>. More...
 
TopAbs_Orientation Orientation (const Sweep_NumShape &aShape) const
 Returns the orientation of <aShape>. More...
 
Standard_Boolean HasFirstVertex () const
 Returns true if there is a First Vertex in the Shape. More...
 
Standard_Boolean HasLastVertex () const
 Returns true if there is a Last Vertex in the Shape. More...
 
Sweep_NumShape FirstVertex () const
 Returns the first vertex. More...
 
Sweep_NumShape LastVertex () const
 Returns the last vertex. More...
 

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()

Standard_Boolean Sweep_NumShapeTool::HasFirstVertex ( ) const

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

◆ HasLastVertex()

Standard_Boolean Sweep_NumShapeTool::HasLastVertex ( ) const

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

◆ Index()

Standard_Integer 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()

Standard_Integer 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 Standard_Integer  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: