Open CASCADE Technology  7.0.0
Public Member Functions
QANewModTopOpe_Limitation Class Reference

provides cutting shape by face or shell; More...

#include <QANewModTopOpe_Limitation.hxx>

Inheritance diagram for QANewModTopOpe_Limitation:
Inheritance graph
[legend]

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_ShapeShape1 () const
 Returns the first shape. More...
 
const TopoDS_ShapeShape2 () const
 Returns the second shape. More...
 
virtual const TopTools_ListOfShapeModified (const TopoDS_Shape &S) override
 Returns the list of shapes modified from the shape <S>. More...
 
virtual const TopTools_ListOfShapeGenerated (const TopoDS_Shape &S) override
 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) override
 Returns true if the shape S has been deleted. More...
 
 ~QANewModTopOpe_Limitation ()
 
- 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_ShapeShape ()
 Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built. More...
 
 operator TopoDS_Shape ()
 
- 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
 

Detailed Description

provides cutting shape by face or shell;

Constructor & Destructor Documentation

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.

QANewModTopOpe_Limitation::~QANewModTopOpe_Limitation ( )

Member Function Documentation

void QANewModTopOpe_Limitation::Cut ( )

makes cutting according to orientation theCutTool and current value of myMode. Does nothing if result already exists.

virtual const TopTools_ListOfShape& QANewModTopOpe_Limitation::Generated ( const TopoDS_Shape S)
overridevirtual

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 Standard_Boolean QANewModTopOpe_Limitation::HasDeleted ( ) const
virtual

Returns true if there is at least one deleted shape. For use in BRepNaming.

virtual Standard_Boolean QANewModTopOpe_Limitation::HasGenerated ( ) const
virtual

Returns true if there is at least one generated shape. For use in BRepNaming.

virtual Standard_Boolean QANewModTopOpe_Limitation::HasModified ( ) const
virtual

Returns true if there is at least one modified shape. For use in BRepNaming.

virtual Standard_Boolean QANewModTopOpe_Limitation::IsDeleted ( const TopoDS_Shape S)
overridevirtual

Returns true if the shape S has been deleted.

Reimplemented from BRepBuilderAPI_MakeShape.

virtual const TopTools_ListOfShape& QANewModTopOpe_Limitation::Modified ( const TopoDS_Shape S)
overridevirtual

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.


The documentation for this class was generated from the following file: