Salome HOME
22244: [CEA] Method to compute the normal to a mesh face
[modules/smesh.git] / idl / SMESH_Mesh.idl
index 4796428fd1adbc97a1b16202f7e62c56f771384e..abce2bb25fd06388ad09c891d82ed606d9229a3b 100644 (file)
@@ -277,7 +277,7 @@ module SMESH
 
   interface SMESH_Mesh;
 
-  interface SMESH_IDSource
+  interface SMESH_IDSource : SALOME::GenericObj
   {
     /*!
      * Returns a sequence of all element IDs
@@ -810,6 +810,9 @@ module SMESH
     EntityType GetElementGeomType( in long id )
       raises (SALOME::SALOME_Exception);
 
+    GeometryType GetElementShape( in long id )
+      raises (SALOME::SALOME_Exception);
+
     long_array GetSubMeshElementsId(in long ShapeID)
       raises (SALOME::SALOME_Exception);
 
@@ -925,6 +928,11 @@ module SMESH
      */
     long_array GetElemFaceNodes(in long elemId, in short faceIndex);
 
+    /*!
+     * Returns three components of normal of given mesh face (or an empty array in KO case)
+     */
+    double_array GetFaceNormal(in long faceId, in boolean normalized);
+
     /*!
      * Returns an element based on all given nodes.
      */