Open CASCADE Technology  7.3.0
Public Member Functions

BRepSweep_Tool Class Reference

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

Detailed Description

Provides the indexation and type analysis services required by the TopoDS generating Shape of BRepSweep.

Constructor & Destructor Documentation

◆ BRepSweep_Tool()

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.

Member Function Documentation

◆ Index()

Standard_Integer BRepSweep_Tool::Index ( const TopoDS_Shape aShape) const

Returns the index of <aShape>.

◆ NbShapes()

Standard_Integer BRepSweep_Tool::NbShapes ( ) const

Returns the number of subshapes in the shape.

◆ Orientation()

TopAbs_Orientation BRepSweep_Tool::Orientation ( const TopoDS_Shape aShape) const

Returns the Orientation of <aShape>.

◆ SetOrientation()

void BRepSweep_Tool::SetOrientation ( TopoDS_Shape aShape,
const TopAbs_Orientation  Or 
) const

Set the Orientation of <aShape> with Or.

◆ Shape()

TopoDS_Shape BRepSweep_Tool::Shape ( const Standard_Integer  anIndex) const

Returns the Shape at Index anIdex.

◆ Type()

TopAbs_ShapeEnum BRepSweep_Tool::Type ( const TopoDS_Shape aShape) const

Returns the type of <aShape>.


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