Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/smesh.git] / idl / SMESH_Pattern.idl
index f02fe432680749dff4870da88419de3490281c08..a844b3c497f773f3879421035fe60e4a255bcbb1 100644 (file)
@@ -15,7 +15,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
@@ -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
@@ -174,8 +181,9 @@ module SMESH
 
     /*!
      * Return nodal connectivity of the elements of the pattern
+     * or of all elements to be crated
      */
-    array_of_long_array GetElementPoints();
+    array_of_long_array GetElementPoints(in boolean all);
   };
 };