Open CASCADE Technology
6.9.1
|
provides cutting shape by face or shell; More...
#include <QANewModTopOpe_Limitation.hxx>
Public Member Functions | |
QANewModTopOpe_Limitation (const TopoDS_Shape &theObjectToCut, const TopoDS_Shape &theCutTool, const QANewModTopOpe_ModeOfLimitation theMode=QANewModTopOpe_Forward) | |
initializes and fills data structure for cutting and makes cutting according to orientation theCutTool and theMode. if theCutTool is not face or shell does nothing. More... | |
void | Cut () |
makes cutting according to orientation theCutTool and current value of myMode. Does nothing if result already exists. More... | |
void | SetMode (const QANewModTopOpe_ModeOfLimitation theMode) |
QANewModTopOpe_ModeOfLimitation | GetMode () const |
const TopoDS_Shape & | Shape1 () const |
Returns the first shape. More... | |
const TopoDS_Shape & | Shape2 () const |
Returns the second shape. More... | |
virtual const TopTools_ListOfShape & | Modified (const TopoDS_Shape &S) |
Returns the list of shapes modified from the shape <S>. More... | |
virtual const TopTools_ListOfShape & | Generated (const TopoDS_Shape &S) |
Returns the list of shapes generated from the shape <S>. For use in BRepNaming. More... | |
virtual Standard_Boolean | HasModified () const |
Returns true if there is at least one modified shape. For use in BRepNaming. More... | |
virtual Standard_Boolean | HasGenerated () const |
Returns true if there is at least one generated shape. For use in BRepNaming. More... | |
virtual Standard_Boolean | HasDeleted () const |
Returns true if there is at least one deleted shape. For use in BRepNaming. More... | |
virtual Standard_Boolean | IsDeleted (const TopoDS_Shape &S) |
Returns true if the shape S has been deleted. More... | |
virtual void | Delete () |
~QANewModTopOpe_Limitation () | |
Public Member Functions inherited from BRepBuilderAPI_MakeShape | |
virtual | ~BRepBuilderAPI_MakeShape () |
virtual void | Build () |
This is called by Shape(). It does nothing but may be redefined. More... | |
virtual const TopoDS_Shape & | Shape () const |
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built. More... | |
operator TopoDS_Shape () const | |
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 |
provides cutting shape by face or shell;
QANewModTopOpe_Limitation::QANewModTopOpe_Limitation | ( | const TopoDS_Shape & | theObjectToCut, |
const TopoDS_Shape & | theCutTool, | ||
const QANewModTopOpe_ModeOfLimitation | theMode = QANewModTopOpe_Forward |
||
) |
initializes and fills data structure for cutting and makes cutting according to orientation theCutTool and theMode. if theCutTool is not face or shell does nothing.
|
inline |
void QANewModTopOpe_Limitation::Cut | ( | ) |
makes cutting according to orientation theCutTool and current value of myMode. Does nothing if result already exists.
|
virtual |
Reimplemented from BRepBuilderAPI_MakeShape.
|
virtual |
Returns the list of shapes generated from the shape <S>. For use in BRepNaming.
Reimplemented from BRepBuilderAPI_MakeShape.
QANewModTopOpe_ModeOfLimitation QANewModTopOpe_Limitation::GetMode | ( | ) | const |
|
virtual |
Returns true if there is at least one deleted shape. For use in BRepNaming.
|
virtual |
Returns true if there is at least one generated shape. For use in BRepNaming.
|
virtual |
Returns true if there is at least one modified shape. For use in BRepNaming.
|
virtual |
Returns true if the shape S has been deleted.
Reimplemented from BRepBuilderAPI_MakeShape.
|
virtual |
Returns the list of shapes modified from the shape <S>.
Reimplemented from BRepBuilderAPI_MakeShape.
void QANewModTopOpe_Limitation::SetMode | ( | const QANewModTopOpe_ModeOfLimitation | theMode | ) |
const TopoDS_Shape& QANewModTopOpe_Limitation::Shape1 | ( | ) | const |
Returns the first shape.
const TopoDS_Shape& QANewModTopOpe_Limitation::Shape2 | ( | ) | const |
Returns the second shape.