Open CASCADE Technology
6.9.1
|
Provides the indexation and type analysis services required by the TopoDS generating Shape of BRepSweep. More...
#include <BRepSweep_Tool.hxx>
Public Member Functions | |
BRepSweep_Tool (const TopoDS_Shape &aShape) | |
Initialize the tool with <aShape>. The IndexTool 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 TopoDS_Shape &aShape) const |
Returns the index of <aShape>. More... | |
TopoDS_Shape | Shape (const Standard_Integer anIndex) const |
Returns the Shape at Index anIdex. More... | |
TopAbs_ShapeEnum | Type (const TopoDS_Shape &aShape) const |
Returns the type of <aShape>. More... | |
TopAbs_Orientation | Orientation (const TopoDS_Shape &aShape) const |
Returns the Orientation of <aShape>. More... | |
void | SetOrientation (TopoDS_Shape &aShape, const TopAbs_Orientation Or) const |
Set the Orientation of <aShape> with Or. More... | |
Provides the indexation and type analysis services required by the TopoDS generating Shape of BRepSweep.
BRepSweep_Tool::BRepSweep_Tool | ( | const TopoDS_Shape & | aShape | ) |
Initialize the tool with <aShape>. The IndexTool must prepare an indexation for all the subshapes of this shape.
Standard_Integer BRepSweep_Tool::Index | ( | const TopoDS_Shape & | aShape | ) | const |
Returns the index of <aShape>.
Standard_Integer BRepSweep_Tool::NbShapes | ( | ) | const |
Returns the number of subshapes in the shape.
TopAbs_Orientation BRepSweep_Tool::Orientation | ( | const TopoDS_Shape & | aShape | ) | const |
Returns the Orientation of <aShape>.
void BRepSweep_Tool::SetOrientation | ( | TopoDS_Shape & | aShape, |
const TopAbs_Orientation | Or | ||
) | const |
Set the Orientation of <aShape> with Or.
TopoDS_Shape BRepSweep_Tool::Shape | ( | const Standard_Integer | anIndex | ) | const |
Returns the Shape at Index anIdex.
TopAbs_ShapeEnum BRepSweep_Tool::Type | ( | const TopoDS_Shape & | aShape | ) | const |
Returns the type of <aShape>.