Salome HOME
fix bug 12361. In SetName(): there may be no study
[modules/smesh.git] / idl / SMESH_Pattern.idl
index fa1d7dd119bba1b3159e12e7eb15d19664af21d3..6317019bfaf41fc787b1aaf09da7c136dbf82295 100644 (file)
@@ -103,9 +103,15 @@ module SMESH
 
     /*!
      * Create nodes and elements in <theMesh> using nodes
-     * coordinates computed by either of Apply...() methods
+     * coordinates computed by either of Apply...() methods.
+     * If CreatePolygons is TRUE, replace adjacent faces by polygons
+     * to keep mesh conformity.
+     * If CreatePolyedrs is TRUE, replace adjacent volumes by polyedrs
+     * to keep mesh conformity.
      */
-    boolean MakeMesh(in SMESH_Mesh theMesh);
+    boolean MakeMesh (in SMESH_Mesh theMesh,
+                     in boolean    CreatePolygons,
+                     in boolean    CreatePolyedrs);
 
     /*!
      * Return the loaded pattern in the string form to be saved in file
@@ -134,6 +140,7 @@ module SMESH
       // Load(face)
       ERR_LOADF_NARROW_FACE, // too narrow face
       ERR_LOADF_CLOSED_FACE, // closed face
+      ERR_LOADF_CANT_PROJECT, // impossible to project nodes
       // Load(volume)
       ERR_LOADV_BAD_SHAPE, // volume is not a brick of 6 faces
       ERR_LOADV_COMPUTE_PARAMS, // cant compute point parameters