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_MakeHalfSpace Class Reference

    Describes functions to build half-spaces. A half-space is an infinite solid, limited by a surface. It is built from a face or a shell, which bounds it, and with a reference point, which specifies the side of the surface where the matter of the half-space is located. A half-space is a tool commonly used in topological operations to cut another shape. A MakeHalfSpace object provides a framework for: More...

    #include <BRepPrimAPI_MakeHalfSpace.hxx>

    Inheritance diagram for BRepPrimAPI_MakeHalfSpace:

    Public Member Functions

     BRepPrimAPI_MakeHalfSpace (const TopoDS_Face &Face, const gp_Pnt &RefPnt)
     Make a HalfSpace defined with a Face and a Point.
     BRepPrimAPI_MakeHalfSpace (const TopoDS_Shell &Shell, const gp_Pnt &RefPnt)
     Make a HalfSpace defined with a Shell and a Point.
    const TopoDS_Solid & Solid () const
     Returns the constructed half-space as a solid.
     operator TopoDS_Solid () const
    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_Shape & Shape ()
     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_Shape > myGenerated

    Detailed Description

    Describes functions to build half-spaces. A half-space is an infinite solid, limited by a surface. It is built from a face or a shell, which bounds it, and with a reference point, which specifies the side of the surface where the matter of the half-space is located. A half-space is a tool commonly used in topological operations to cut another shape. A MakeHalfSpace object provides a framework for:

    • defining and implementing the construction of a half-space, and
    • consulting the result.

    Constructor & Destructor Documentation

    ◆ BRepPrimAPI_MakeHalfSpace() [1/2]

    BRepPrimAPI_MakeHalfSpace::BRepPrimAPI_MakeHalfSpace ( const TopoDS_Face & Face,
    const gp_Pnt & RefPnt )

    Make a HalfSpace defined with a Face and a Point.

    ◆ BRepPrimAPI_MakeHalfSpace() [2/2]

    BRepPrimAPI_MakeHalfSpace::BRepPrimAPI_MakeHalfSpace ( const TopoDS_Shell & Shell,
    const gp_Pnt & RefPnt )

    Make a HalfSpace defined with a Shell and a Point.

    Member Function Documentation

    ◆ operator TopoDS_Solid()

    BRepPrimAPI_MakeHalfSpace::operator TopoDS_Solid ( ) const

    ◆ Solid()

    const TopoDS_Solid & BRepPrimAPI_MakeHalfSpace::Solid ( ) const

    Returns the constructed half-space as a solid.


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