Open CASCADE Technology
7.1.0.beta
|
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... | |
This class provides the indexation and type analysis services required by the NumShape Directing Shapes of Swept Primitives.
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.
Sweep_NumShape Sweep_NumShapeTool::FirstVertex | ( | ) | const |
Returns the first vertex.
Standard_Boolean Sweep_NumShapeTool::HasFirstVertex | ( | ) | const |
Returns true if there is a First Vertex in the Shape.
Standard_Boolean Sweep_NumShapeTool::HasLastVertex | ( | ) | const |
Returns true if there is a Last Vertex in the Shape.
Standard_Integer Sweep_NumShapeTool::Index | ( | const Sweep_NumShape & | aShape | ) | const |
Returns the index of <aShape>.
Sweep_NumShape Sweep_NumShapeTool::LastVertex | ( | ) | const |
Returns the last vertex.
Standard_Integer Sweep_NumShapeTool::NbShapes | ( | ) | const |
Returns the number of subshapes in the shape.
TopAbs_Orientation Sweep_NumShapeTool::Orientation | ( | const Sweep_NumShape & | aShape | ) | const |
Returns the orientation of <aShape>.
Sweep_NumShape Sweep_NumShapeTool::Shape | ( | const Standard_Integer | anIndex | ) | const |
Returns the Shape at index anIndex.
TopAbs_ShapeEnum Sweep_NumShapeTool::Type | ( | const Sweep_NumShape & | aShape | ) | const |
Returns the type of <aShape>.