Salome HOME
long to smIdType in idl-files
[modules/smesh.git] / idl / SMESH_Pattern.idl
index 3a5e7900a346ffe9eb904ed5f053112e85dc2a5c..7c64ad98d6d7165f563e03650fecb7ffc88b346b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  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
 {
@@ -87,7 +88,7 @@ module SMESH
      */
     point_array  ApplyToMeshFaces(in SMESH_Mesh theMesh,
                                   in long_array theFacesIDs,
-                                  in long       theNodeIndexOnKeyPoint1,
+                                  in smIdType   theNodeIndexOnKeyPoint1,
                                   in boolean    theReverse);
 
     /*!
@@ -99,8 +100,8 @@ module SMESH
      */
     point_array  ApplyToHexahedrons(in SMESH_Mesh theMesh,
                                     in long_array theVolumesIDs,
-                                    in long       theNode000Index,
-                                    in long       theNode001Index);
+                                    in smIdType   theNode000Index,
+                                    in smIdType   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);
   };