Open CASCADE Technology
7.4.0
|
Describes functions for performing a topological cut operation (Boolean subtraction). A Cut object provides the framework for: More...
#include <BRepAlgo_Cut.hxx>
Public Member Functions | |
BRepAlgo_Cut (const TopoDS_Shape &S1, const TopoDS_Shape &S2) | |
Cuts the shape S2 from the shape S1. More... | |
Public Member Functions inherited from BRepAlgo_BooleanOperation | |
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... | |
Additional Inherited Members | |
Protected Member Functions inherited from BRepAlgo_BooleanOperation | |
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 inherited from BRepAlgo_BooleanOperation | |
Handle< TopOpeBRepBuild_HBuilder > | myHBuilder |
TopoDS_Shape | myS1 |
TopoDS_Shape | myS2 |
Protected Attributes inherited from BRepBuilderAPI_MakeShape | |
TopoDS_Shape | myShape |
TopTools_ListOfShape | myGenerated |
Describes functions for performing a topological cut operation (Boolean subtraction). A Cut object provides the framework for:
BRepAlgo_Cut::BRepAlgo_Cut | ( | const TopoDS_Shape & | S1, |
const TopoDS_Shape & | S2 | ||
) |
Cuts the shape S2 from the shape S1.