Open CASCADE Technology
7.6.0
|
Geometric transformation on a shape. The transformation to be applied is defined as a gp_GTrsf transformation. It may be: More...
#include <BRepBuilderAPI_GTransform.hxx>
Public Member Functions | |
BRepBuilderAPI_GTransform (const gp_GTrsf &T) | |
Constructs a framework for applying the geometric transformation T to a shape. Use the function Perform to define the shape to transform. More... | |
BRepBuilderAPI_GTransform (const TopoDS_Shape &S, const gp_GTrsf &T, const Standard_Boolean Copy=Standard_False) | |
Constructs a framework for applying the geometric transformation T to a shape, and applies it to the shape S. More... | |
void | Perform (const TopoDS_Shape &S, const Standard_Boolean Copy=Standard_False) |
Applies the geometric transformation defined at the time of construction of this framework to the shape S. More... | |
virtual const TopTools_ListOfShape & | Modified (const TopoDS_Shape &S) override |
Returns the list of shapes modified from the shape | |
virtual TopoDS_Shape | ModifiedShape (const TopoDS_Shape &S) const override |
Returns the modified shape corresponding to | |
Public Member Functions inherited from BRepBuilderAPI_MakeShape | |
virtual void | Build (const Message_ProgressRange &theRange=Message_ProgressRange()) |
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 | |
virtual Standard_Boolean | IsDeleted (const TopoDS_Shape &S) |
Returns true if the shape S has been deleted. 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 BRepBuilderAPI_ModifyShape | |
BRepBuilderAPI_ModifyShape () | |
Empty constructor. More... | |
BRepBuilderAPI_ModifyShape (const TopoDS_Shape &S) | |
Initializes the modifier with the Shape | |
BRepBuilderAPI_ModifyShape (const Handle< BRepTools_Modification > &M) | |
Set the field <myModification> with <M>. More... | |
BRepBuilderAPI_ModifyShape (const TopoDS_Shape &S, const Handle< BRepTools_Modification > &M) | |
Initializes the modifier with the Shape | |
void | DoModif (const TopoDS_Shape &S) |
Performs the previously given modification on the shape | |
void | DoModif (const Handle< BRepTools_Modification > &M) |
Performs the modification <M> on a previously given shape. More... | |
void | DoModif (const TopoDS_Shape &S, const Handle< BRepTools_Modification > &M) |
Performs the modification <M> on the shape | |
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_ModifyShape | |
BRepTools_Modifier | myModifier |
TopoDS_Shape | myInitialShape |
Handle< BRepTools_Modification > | myModification |
Protected Attributes inherited from BRepBuilderAPI_MakeShape | |
TopoDS_Shape | myShape |
TopTools_ListOfShape | myGenerated |
Geometric transformation on a shape. The transformation to be applied is defined as a gp_GTrsf transformation. It may be:
BRepBuilderAPI_GTransform::BRepBuilderAPI_GTransform | ( | const gp_GTrsf & | T | ) |
Constructs a framework for applying the geometric transformation T to a shape. Use the function Perform to define the shape to transform.
BRepBuilderAPI_GTransform::BRepBuilderAPI_GTransform | ( | const TopoDS_Shape & | S, |
const gp_GTrsf & | T, | ||
const Standard_Boolean | Copy = Standard_False |
||
) |
Constructs a framework for applying the geometric transformation T to a shape, and applies it to the shape S.
|
overridevirtual |
Returns the list of shapes modified from the shape .
Reimplemented from BRepBuilderAPI_ModifyShape.
|
overridevirtual |
Returns the modified shape corresponding to .
Reimplemented from BRepBuilderAPI_ModifyShape.
void BRepBuilderAPI_GTransform::Perform | ( | const TopoDS_Shape & | S, |
const Standard_Boolean | Copy = Standard_False |
||
) |
Applies the geometric transformation defined at the time of construction of this framework to the shape S.