Salome HOME
Implement Cancel Compute (end)
[modules/smesh.git] / src / SMESH / SMESH_MeshEditor.hxx
index 8f07c0fdb70523eab531fbba6eb6563debaa48ac..337ce138df8d664a23e0c57f9e0a0c53efa4e159 100644 (file)
@@ -462,6 +462,7 @@ public:
   // theBetweenNode1 - theBetweenNode2, between theBetweenNode1 and theBetweenNode2.
 
   void ConvertToQuadratic(const bool theForce3d);
+  void ConvertToQuadratic(const bool theForce3d, TIDSortedElemSet& theElements);
   // Converts all mesh to quadratic one, deletes old elements, replacing 
   // them with quadratic ones with the same id.
   // If theForce3d = 1; this results in the medium node lying at the 
@@ -471,6 +472,7 @@ public:
   // geometrical edge from which the mesh element is built
 
   bool ConvertFromQuadratic();
+  void ConvertFromQuadratic(TIDSortedElemSet& theElements);
   // Converts all mesh from quadratic to ordinary ones, deletes old quadratic elements, replacing 
   // them with ordinary mesh elements with the same id.
   // Returns true in case of success, false otherwise.
@@ -575,14 +577,17 @@ public:
 
   enum Bnd_Dimension { BND_2DFROM3D, BND_1DFROM3D, BND_1DFROM2D };
 
-  void MakeBoundaryMesh(const TIDSortedElemSet& elements,
-                        Bnd_Dimension           dimension,
-                        SMESH_Group*            group = 0,
-                        SMESH_Mesh*             targetMesh = 0,
-                        bool                    toCopyElements = false,
-                        bool                    toCopyExistingBondary = false);
+  int MakeBoundaryMesh(const TIDSortedElemSet& elements,
+                       Bnd_Dimension           dimension,
+                       SMESH_Group*            group = 0,
+                       SMESH_Mesh*             targetMesh = 0,
+                       bool                    toCopyElements = false,
+                       bool                    toCopyExistingBondary = false,
+                       bool                    toAddExistingBondary = false,
+                       bool                    aroundElements = false);
 
-private:
+
+ private:
 
   /*!
    * \brief Convert elements contained in a submesh to quadratic