Salome HOME
PAL16617 (Modification/Transformation operations with copy don't create a new mesh)
[modules/smesh.git] / src / SMESH / SMESH_MeshEditor.hxx
index 5c4d11b7c289d0464a5f0ab40591024dd0eaa6ff..fd5facec2e6ad444d12fdf27b580aacc74318918 100644 (file)
@@ -296,7 +296,8 @@ public:
   PGroupIDs Transform (TIDSortedElemSet & theElements,
                        const gp_Trsf&     theTrsf,
                        const bool         theCopy,
-                       const bool         theMakeGroups);
+                       const bool         theMakeGroups,
+                       SMESH_Mesh*        theTargetMesh=0);
   // Move or copy theElements applying theTrsf to their nodes
 
   typedef std::list< std::list< const SMDS_MeshNode* > > TListOfListOfNodes;
@@ -531,7 +532,8 @@ private:
    */
   PGroupIDs generateGroups(const SMESH_SequenceOfElemPtr& nodeGens,
                            const SMESH_SequenceOfElemPtr& elemGens,
-                           const std::string&             postfix);
+                           const std::string&             postfix,
+                           SMESH_Mesh*                    targetMesh=0);
 
 
   typedef std::map<const SMDS_MeshNode*, std::list<const SMDS_MeshNode*> > TNodeOfNodeListMap;