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