|
Open CASCADE Technology
6.7.1
|
Duplication of a shape.
A Copy object provides a framework for:
More...
#include <BRepBuilderAPI_Copy.hxx>

Public Member Functions | |
| BRepBuilderAPI_Copy () | |
Constructs an empty copy framework. Use the function <br> Perform to copy shapes. | |
| BRepBuilderAPI_Copy (const TopoDS_Shape &S, const Standard_Boolean copyGeom=Standard_True) | |
Constructs a copy framework and copies the shape S. <br> Use the function Shape to access the result. | |
| void | Perform (const TopoDS_Shape &S, const Standard_Boolean copyGeom=Standard_True) |
Copies the shape S. <br> Use the function Shape to access the result. | |
Public Member Functions inherited from BRepBuilderAPI_ModifyShape | |
| virtual const TopTools_ListOfShape & | Modified (const TopoDS_Shape &S) |
| Returns the list of shapes modified from the shape <S>. More... | |
| virtual const TopoDS_Shape & | ModifiedShape (const TopoDS_Shape &S) const |
Returns the modified shape corresponding to <S>. <br> S can correspond to the entire initial shape or to its subshape. | |
Public Member Functions inherited from BRepBuilderAPI_MakeShape | |
| virtual void | Delete () |
| virtual | ~BRepBuilderAPI_MakeShape () |
| virtual void | Build () |
| This is called by Shape(). It does nothing but may be redefined. More... | |
| const TopoDS_Shape & | Shape () const |
Returns a shape built by the shape construction algorithm. <br> Raises exception StdFail_NotDone if the shape was not built. | |
| operator TopoDS_Shape () const | |
| virtual const TopTools_ListOfShape & | Generated (const TopoDS_Shape &S) |
| Returns the list of shapes generated from the shape <S>. More... | |
| 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 <S>, and set the field <myInitialShape> to <S>. More... | |
| 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 <S>, and set the field <myInitialShape> to <S>, and set the field <myModification> with <M>, the performs the modification. More... | |
| void | DoModif (const TopoDS_Shape &S) |
| Performs the previously given modification on the shape <S>. More... | |
| 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 <S>. More... | |
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 |
Duplication of a shape.
A Copy object provides a framework for:
| BRepBuilderAPI_Copy::BRepBuilderAPI_Copy | ( | ) |
Constructs an empty copy framework. Use the function <br>
Perform to copy shapes.
| BRepBuilderAPI_Copy::BRepBuilderAPI_Copy | ( | const TopoDS_Shape & | S, |
| const Standard_Boolean | copyGeom = Standard_True |
||
| ) |
Constructs a copy framework and copies the shape S. <br>
Use the function Shape to access the result.
If copyGeom is False, only topological objects will be copied, while
geometry will be shared with original shape.
Note: the constructed framework can be reused to copy
other shapes: just specify them with the function Perform.
| void BRepBuilderAPI_Copy::Perform | ( | const TopoDS_Shape & | S, |
| const Standard_Boolean | copyGeom = Standard_True |
||
| ) |
Copies the shape S. <br>
Use the function Shape to access the result.
If copyGeom is False, only topological objects will be copied, while
geometry will be shared with original shape.
1.8.5