Open CASCADE Technology 7.8.0
|
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>
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 TopTools_ListOfShape & | Generated (const TopoDS_Shape &S) |
Returns the list of shapes generated from the shape | |
virtual const TopTools_ListOfShape & | Modified (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 |
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:
BRepPrimAPI_MakeHalfSpace::BRepPrimAPI_MakeHalfSpace | ( | const TopoDS_Face & | Face, |
const gp_Pnt & | RefPnt | ||
) |
Make a HalfSpace defined with a Face and a Point.
BRepPrimAPI_MakeHalfSpace::BRepPrimAPI_MakeHalfSpace | ( | const TopoDS_Shell & | Shell, |
const gp_Pnt & | RefPnt | ||
) |
Make a HalfSpace defined with a Shell and a Point.
BRepPrimAPI_MakeHalfSpace::operator TopoDS_Solid | ( | ) | const |
const TopoDS_Solid & BRepPrimAPI_MakeHalfSpace::Solid | ( | ) | const |
Returns the constructed half-space as a solid.