OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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:

    Public Member Functions

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

    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.
    void Done ()
     Set done to true.
    void NotDone ()
     Set done to false.
    Protected Attributes inherited from BRepBuilderAPI_MakeShape
    TopoDS_Shape myShape
    NCollection_List< TopoDS_ShapemyGenerated

    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:

    • Vertices generate Edges
    • Edges generate Faces.
    • Wires generate Shells.
    • Faces generate Solids.
    • Shells generate Composite Solids. You are not allowed to sweep Solids and Composite Solids. Two kinds of sweeps are implemented in the BRepPrimAPI package:
    • The linear sweep called a Prism
    • The rotational sweep called a Revol Swept constructions along complex profiles such as BSpline curves are also available in the BRepOffsetAPI package..

    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_MakePipe, BRepOffsetAPI_MakePipeShell, BRepPrimAPI_MakePrism, and BRepPrimAPI_MakeRevol.

    ◆ LastShape()

    virtual TopoDS_Shape BRepPrimAPI_MakeSweep::LastShape ( )
    pure virtual

    Returns the TopoDS Shape of the top of the sweep.

    Implemented in BRepOffsetAPI_MakePipe, BRepOffsetAPI_MakePipeShell, BRepPrimAPI_MakePrism, and BRepPrimAPI_MakeRevol.


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