Open CASCADE Technology
6.5.4
|
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 DEFINE_STANDARD_ALLOC void | Delete () |
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. | |
const TopoDS_Shape & | Shape2 () const |
Returns the second shape involved in this Boolean operation. | |
virtual const TopTools_ListOfShape & | Modified (const TopoDS_Shape &S) |
Returns the list of shapes modified from the shape <S>. | |
virtual Standard_Boolean | IsDeleted (const TopoDS_Shape &S) |
Returns true if the shape S has been deleted. | |
Protected Member Functions | |
BRepAlgo_BooleanOperation (const TopoDS_Shape &S1, const TopoDS_Shape &S2) | |
Prepares the operations for S1 and S2. | |
void | BuilderCanWork (const Standard_Boolean B) |
Standard_Boolean | BuilderCanWork () const |
virtual void | InitParameters () |
Protected Attributes | |
Handle_TopOpeBRepBuild_HBuilder | myHBuilder |
TopoDS_Shape | myS1 |
TopoDS_Shape | myS2 |
virtual BRepAlgo_BooleanOperation::~BRepAlgo_BooleanOperation | ( | ) | [inline, virtual] |
BRepAlgo_BooleanOperation::BRepAlgo_BooleanOperation | ( | const TopoDS_Shape & | S1, |
const TopoDS_Shape & | S2 | ||
) | [protected] |
Handle_TopOpeBRepBuild_HBuilder BRepAlgo_BooleanOperation::Builder | ( | ) | const |
void BRepAlgo_BooleanOperation::BuilderCanWork | ( | const Standard_Boolean | B | ) | [protected] |
Standard_Boolean BRepAlgo_BooleanOperation::BuilderCanWork | ( | ) | const [protected] |
virtual DEFINE_STANDARD_ALLOC void BRepAlgo_BooleanOperation::Delete | ( | ) | [virtual] |
Reimplemented from BRepBuilderAPI_MakeShape.
virtual void BRepAlgo_BooleanOperation::InitParameters | ( | ) | [protected, virtual] |
virtual Standard_Boolean BRepAlgo_BooleanOperation::IsDeleted | ( | const TopoDS_Shape & | S | ) | [virtual] |
Reimplemented from BRepBuilderAPI_MakeShape.
virtual const TopTools_ListOfShape& BRepAlgo_BooleanOperation::Modified | ( | const TopoDS_Shape & | S | ) | [virtual] |
Reimplemented from BRepBuilderAPI_MakeShape.
void BRepAlgo_BooleanOperation::Perform | ( | const TopAbs_State | St1, |
const TopAbs_State | St2 | ||
) |
const TopoDS_Shape& BRepAlgo_BooleanOperation::Shape1 | ( | ) | const |
const TopoDS_Shape& BRepAlgo_BooleanOperation::Shape2 | ( | ) | const |
Handle_TopOpeBRepBuild_HBuilder BRepAlgo_BooleanOperation::myHBuilder [protected] |
TopoDS_Shape BRepAlgo_BooleanOperation::myS1 [protected] |
TopoDS_Shape BRepAlgo_BooleanOperation::myS2 [protected] |