Salome HOME
0020944: EDF 1464 SMESH: detection of over-constrained elements
[modules/smesh.git] / idl / SMESH_Filter.idl
index 488356bd8ed1cb6bdd5a9e3e8dedd95fcdd8f5f7..3bcefbd49daa5f83acb4df98c10ace51d3a82cc8 100644 (file)
@@ -66,6 +66,8 @@ module SMESH
     FT_BadOrientedVolume,
     FT_BareBorderVolume,
     FT_BareBorderFace,
+    FT_OverConstrainedVolume,
+    FT_OverConstrainedFace,
     FT_LinearOrQuadratic,
     FT_GroupColor,
     FT_ElemGeomType,
@@ -168,7 +170,7 @@ module SMESH
   interface BadOrientedVolume: Predicate {};
 
   /*!
-   * Logical functor (predicate) "Volumes with bare border" and "Faces with bare border".
+   * Logical functor (predicate) "Volumes with bare border".
    * Verify whether a mesh volume has a free facet without a mesh face on it
    */
   interface BareBorderVolume: Predicate {};
@@ -179,6 +181,17 @@ module SMESH
    */
   interface BareBorderFace: Predicate {};
 
+  /*!
+   * Logical functor (predicate) "Over-constrained Volume"
+   * Verify whether a mesh volume has only one facet shared with other volumes
+   */
+  interface OverConstrainedVolume: Predicate {};
+  /*!
+   * Logical functor (predicate) "Over-constrained Face".
+   * Verify whether a mesh face has only one border shared with other faces
+   */
+  interface OverConstrainedFace: Predicate {};
+
   /*!
    * Logical functor (predicate) "Belong To Geometry".
    * Verify whether mesh element or node belong to pointed Geom Object
@@ -508,6 +521,8 @@ module SMESH
     BadOrientedVolume CreateBadOrientedVolume();
     BareBorderVolume  CreateBareBorderVolume();
     BareBorderFace    CreateBareBorderFace();
+    OverConstrainedVolume CreateOverConstrainedVolume();
+    OverConstrainedFace   CreateOverConstrainedFace();
     LinearOrQuadratic CreateLinearOrQuadratic();
 
     GroupColor        CreateGroupColor();