Open CASCADE Technology 7.9.1
Loading...
Searching...
No Matches
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_SolidSolid () 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_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 TopTools_ListOfShapeGenerated (const TopoDS_Shape &S)
 Returns the list of shapes generated from the shape .
virtual const TopTools_ListOfShapeModified (const TopoDS_Shape &S)
 Returns the list of shapes modified from the shape .
virtual Standard_Boolean 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 Standard_Boolean 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
TopTools_ListOfShape 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: