Salome HOME
to long
[modules/smesh.git] / idl / SMESH_Pattern.idl
index 8799f273993d3739fc8a2fdafca4f16cc89351e4..5eb9fd411a1cdc021677c259bc5a97b6d826de1c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -29,6 +29,7 @@
 #define _SMESH_PATTERN_IDL_
 
 #include "SMESH_Mesh.idl"
+#include "SMESH_smIdType.idl"
 
 module SMESH
 {
@@ -99,8 +100,8 @@ module SMESH
      */
     point_array  ApplyToHexahedrons(in SMESH_Mesh theMesh,
                                     in long_array theVolumesIDs,
-                                    in long       theNode000Index,
-                                    in long       theNode001Index);
+                                    in long   theNode000Index,
+                                    in long   theNode001Index);
 
     /*!
      * Create nodes and elements in <theMesh> using nodes
@@ -144,10 +145,10 @@ module SMESH
       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
+      ERR_LOADV_COMPUTE_PARAMS, // can't compute point parameters
       // Apply(shape)
       ERR_APPL_NOT_LOADED, // pattern was not loaded
-      ERR_APPL_BAD_DIMENTION, // wrong shape dimention
+      ERR_APPL_BAD_DIMENTION, // wrong shape dimension
       ERR_APPL_BAD_NB_VERTICES, // keypoints - vertices mismatch
       // Apply(face)
       ERR_APPLF_BAD_TOPOLOGY, // bad pattern topology
@@ -182,7 +183,7 @@ module SMESH
 
     /*!
      * Return nodal connectivity of the elements of the pattern
-     * or of all elements to be crated
+     * or of all elements to be created
      */
     array_of_long_array GetElementPoints(in boolean all);
   };