Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
BRepSweep_Tool Class Reference

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

#include <BRepSweep_Tool.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC 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 NbShapes () const
 Returns the number of subshapes in the shape.

Standard_Integer Index (const TopoDS_Shape &aShape) const
 Returns the index of <aShape>.

TopoDS_Shape Shape (const Standard_Integer anIndex) const
 Returns the Shape at Index anIdex.

TopAbs_ShapeEnum Type (const TopoDS_Shape &aShape) const
 Returns the type of <aShape>.

TopAbs_Orientation Orientation (const TopoDS_Shape &aShape) const
 Returns the Orientation of <aShape>.

void SetOrientation (TopoDS_Shape &aShape, const TopAbs_Orientation Or) const
 Set the Orientation of <aShape> with Or.


Constructor & Destructor Documentation


Member Function Documentation


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