Open CASCADE Technology 6.6.0
|
provides cutting shape by face or shell;
#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. | |
void | Cut () |
makes cutting according to orientation theCutTool and current value of myMode. Does nothing if result already exists. | |
void | SetMode (const QANewModTopOpe_ModeOfLimitation theMode) |
QANewModTopOpe_ModeOfLimitation | GetMode () const |
const TopoDS_Shape & | Shape1 () const |
Returns the first shape. | |
const TopoDS_Shape & | Shape2 () const |
Returns the second shape. | |
virtual const TopTools_ListOfShape & | Modified (const TopoDS_Shape &S) |
Returns the list of shapes modified from the shape <S>. | |
const TopTools_ListOfShape & | Modified2 (const TopoDS_Shape &aS) |
Returns the list of shapes modified from the shape <S>. For use in BRepNaming. | |
virtual const TopTools_ListOfShape & | Generated (const TopoDS_Shape &S) |
Returns the list of shapes generated from the shape <S>. For use in BRepNaming. | |
virtual Standard_Boolean | HasModified () const |
Returns true if there is at least one modified shape. For use in BRepNaming. | |
virtual Standard_Boolean | HasGenerated () const |
Returns true if there is at least one generated shape. For use in BRepNaming. | |
virtual Standard_Boolean | HasDeleted () const |
Returns true if there is at least one deleted shape. For use in BRepNaming. | |
virtual Standard_Boolean | IsDeleted (const TopoDS_Shape &S) |
Returns true if the shape S has been deleted. | |
virtual void | Delete () |
~QANewModTopOpe_Limitation () |
QANewModTopOpe_Limitation::QANewModTopOpe_Limitation | ( | const TopoDS_Shape & | theObjectToCut, |
const TopoDS_Shape & | theCutTool, | ||
const QANewModTopOpe_ModeOfLimitation | theMode = QANewModTopOpe_Forward |
||
) |
QANewModTopOpe_Limitation::~QANewModTopOpe_Limitation | ( | ) | [inline] |
void QANewModTopOpe_Limitation::Cut | ( | ) |
virtual void QANewModTopOpe_Limitation::Delete | ( | ) | [virtual] |
Reimplemented from BRepBuilderAPI_MakeShape.
virtual const TopTools_ListOfShape& QANewModTopOpe_Limitation::Generated | ( | const TopoDS_Shape & | S | ) | [virtual] |
Reimplemented from BRepBuilderAPI_MakeShape.
QANewModTopOpe_ModeOfLimitation QANewModTopOpe_Limitation::GetMode | ( | ) | const |
virtual Standard_Boolean QANewModTopOpe_Limitation::HasDeleted | ( | ) | const [virtual] |
virtual Standard_Boolean QANewModTopOpe_Limitation::HasGenerated | ( | ) | const [virtual] |
virtual Standard_Boolean QANewModTopOpe_Limitation::HasModified | ( | ) | const [virtual] |
virtual Standard_Boolean QANewModTopOpe_Limitation::IsDeleted | ( | const TopoDS_Shape & | S | ) | [virtual] |
Reimplemented from BRepBuilderAPI_MakeShape.
virtual const TopTools_ListOfShape& QANewModTopOpe_Limitation::Modified | ( | const TopoDS_Shape & | S | ) | [virtual] |
Reimplemented from BRepBuilderAPI_MakeShape.
const TopTools_ListOfShape& QANewModTopOpe_Limitation::Modified2 | ( | const TopoDS_Shape & | aS | ) |
void QANewModTopOpe_Limitation::SetMode | ( | const QANewModTopOpe_ModeOfLimitation | theMode | ) |
const TopoDS_Shape& QANewModTopOpe_Limitation::Shape1 | ( | ) | const |
const TopoDS_Shape& QANewModTopOpe_Limitation::Shape2 | ( | ) | const |