Open CASCADE Technology
7.2.0
|
The abstract class BooleanOperation is the root class of Boolean operations. A BooleanOperation object stores the two shapes in preparation for the Boolean operation specified in one of the classes inheriting from this one. These include: More...
#include <BRepAlgo_BooleanOperation.hxx>
Public Member Functions | |
virtual | ~BRepAlgo_BooleanOperation () |
void | PerformDS () |
void | Perform (const TopAbs_State St1, const TopAbs_State St2) |
Handle< TopOpeBRepBuild_HBuilder > | Builder () const |
const TopoDS_Shape & | Shape1 () const |
Returns the first shape involved in this Boolean operation. More... | |
const TopoDS_Shape & | Shape2 () const |
Returns the second shape involved in this Boolean operation. More... | |
virtual const TopTools_ListOfShape & | Modified (const TopoDS_Shape &S) override |
Returns the list of shapes modified from the shape <S>. More... | |
virtual Standard_Boolean | IsDeleted (const TopoDS_Shape &S) override |
Returns true if the shape S has been deleted. More... | |
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... | |
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... | |
Protected Member Functions | |
BRepAlgo_BooleanOperation (const TopoDS_Shape &S1, const TopoDS_Shape &S2) | |
Prepares the operations for S1 and S2. More... | |
void | BuilderCanWork (const Standard_Boolean B) |
Standard_Boolean | BuilderCanWork () const |
virtual void | InitParameters () |
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 | |
Handle< TopOpeBRepBuild_HBuilder > | myHBuilder |
TopoDS_Shape | myS1 |
TopoDS_Shape | myS2 |
Protected Attributes inherited from BRepBuilderAPI_MakeShape | |
TopoDS_Shape | myShape |
TopTools_ListOfShape | myGenerated |
The abstract class BooleanOperation is the root class of Boolean operations. A BooleanOperation object stores the two shapes in preparation for the Boolean operation specified in one of the classes inheriting from this one. These include:
|
virtual |
|
protected |
Prepares the operations for S1 and S2.
Handle< TopOpeBRepBuild_HBuilder > BRepAlgo_BooleanOperation::Builder | ( | ) | const |
|
protected |
|
protected |
|
protectedvirtual |
|
overridevirtual |
Returns true if the shape S has been deleted.
Reimplemented from BRepBuilderAPI_MakeShape.
|
overridevirtual |
Returns the list of shapes modified from the shape <S>.
Reimplemented from BRepBuilderAPI_MakeShape.
void BRepAlgo_BooleanOperation::Perform | ( | const TopAbs_State | St1, |
const TopAbs_State | St2 | ||
) |
void BRepAlgo_BooleanOperation::PerformDS | ( | ) |
const TopoDS_Shape& BRepAlgo_BooleanOperation::Shape1 | ( | ) | const |
Returns the first shape involved in this Boolean operation.
const TopoDS_Shape& BRepAlgo_BooleanOperation::Shape2 | ( | ) | const |
Returns the second shape involved in this Boolean operation.
|
protected |
|
protected |
|
protected |