Open CASCADE Technology  7.4.0
Public Member Functions

BRepPrimAPI_MakeSweep Class Referenceabstract

The abstract class MakeSweep is the root class of swept primitives. Sweeps are objects you obtain by sweeping a profile along a path. The profile can be any topology and the path is usually a curve or a wire. The profile generates objects according to the following rules: More...

#include <BRepPrimAPI_MakeSweep.hxx>

Inheritance diagram for BRepPrimAPI_MakeSweep:
Inheritance graph
[legend]

Public Member Functions

virtual TopoDS_Shape FirstShape ()=0
 Returns the TopoDS Shape of the bottom of the sweep. More...
 
virtual TopoDS_Shape LastShape ()=0
 Returns the TopoDS Shape of the top of the sweep. More...
 
- Public Member Functions inherited from BRepBuilderAPI_MakeShape
virtual void Build ()
 This is called by Shape(). It does nothing but may be redefined. More...
 
virtual const TopoDS_ShapeShape ()
 Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built. More...
 
 operator TopoDS_Shape ()
 
virtual const TopTools_ListOfShapeGenerated (const TopoDS_Shape &S)
 Returns the list of shapes generated from the shape <S>. More...
 
virtual const TopTools_ListOfShapeModified (const TopoDS_Shape &S)
 Returns the list of shapes modified from the shape <S>. More...
 
virtual Standard_Boolean IsDeleted (const TopoDS_Shape &S)
 Returns true if the shape S has been deleted. More...
 
- Public Member Functions inherited from BRepBuilderAPI_Command
virtual ~BRepBuilderAPI_Command ()
 
virtual Standard_Boolean IsDone () const
 
void Check () const
 Raises NotDone if done is false. More...
 

Additional Inherited Members

- Protected Member Functions inherited from BRepBuilderAPI_MakeShape
 BRepBuilderAPI_MakeShape ()
 
- Protected Member Functions inherited from BRepBuilderAPI_Command
 BRepBuilderAPI_Command ()
 Set done to False. More...
 
void Done ()
 Set done to true. More...
 
void NotDone ()
 Set done to false. More...
 
- Protected Attributes inherited from BRepBuilderAPI_MakeShape
TopoDS_Shape myShape
 
TopTools_ListOfShape myGenerated
 

Detailed Description

The abstract class MakeSweep is the root class of swept primitives. Sweeps are objects you obtain by sweeping a profile along a path. The profile can be any topology and the path is usually a curve or a wire. The profile generates objects according to the following rules:

Member Function Documentation

◆ FirstShape()

virtual TopoDS_Shape BRepPrimAPI_MakeSweep::FirstShape ( )
pure virtual

Returns the TopoDS Shape of the bottom of the sweep.

Implemented in BRepOffsetAPI_MakePipeShell, BRepPrimAPI_MakeRevol, BRepPrimAPI_MakePrism, and BRepOffsetAPI_MakePipe.

◆ LastShape()

virtual TopoDS_Shape BRepPrimAPI_MakeSweep::LastShape ( )
pure virtual

Returns the TopoDS Shape of the top of the sweep.

Implemented in BRepOffsetAPI_MakePipeShell, BRepPrimAPI_MakeRevol, BRepPrimAPI_MakePrism, and BRepOffsetAPI_MakePipe.


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