Salome HOME
0020944: EDF 1464 SMESH: detection of over-constrained elements
[modules/smesh.git] / src / SMESH_I / SMESH_Filter_i.hxx
index 3da1245e5bb326c67bf755adf407e2adfedae8ab..8a1766b47121b4ed979e981ee595bfef5c4ee894 100644 (file)
@@ -392,8 +392,7 @@ namespace SMESH
   
   /*
     Class       : BareBorderVolume_i
-    Description : Verify whether a mesh volume is incorrectly oriented from
-    the point of view of MED convention
+    Description : Verify whether a mesh volume has a free facet without a face on it
   */
   class SMESH_I_EXPORT BareBorderVolume_i: public virtual POA_SMESH::BareBorderVolume,
                                            public virtual Predicate_i
@@ -405,8 +404,7 @@ namespace SMESH
   
   /*
     Class       : BareBorderFace_i
-    Description : Verify whether a mesh volume is incorrectly oriented from
-    the point of view of MED convention
+    Description : Verify whether a mesh face has a free border without an edge on it
   */
   class SMESH_I_EXPORT BareBorderFace_i: public virtual POA_SMESH::BareBorderFace,
                                            public virtual Predicate_i
@@ -416,6 +414,30 @@ namespace SMESH
     FunctorType                     GetFunctorType();
   };
   
+  /*
+    Class       : OverConstrainedVolume_i
+    Description : Verify whether a mesh volume has only one facet shared with other volumes
+  */
+  class SMESH_I_EXPORT OverConstrainedVolume_i: public virtual POA_SMESH::OverConstrainedVolume,
+                                           public virtual Predicate_i
+  {
+  public:
+    OverConstrainedVolume_i();
+    FunctorType                     GetFunctorType();
+  };
+  
+  /*
+    Class       : OverConstrainedFace_i
+    Description : Verify whether a mesh face has only one border shared with other faces
+  */
+  class SMESH_I_EXPORT OverConstrainedFace_i: public virtual POA_SMESH::OverConstrainedFace,
+                                           public virtual Predicate_i
+  {
+  public:
+    OverConstrainedFace_i();
+    FunctorType                     GetFunctorType();
+  };
+  
   /*
     Class       : BelongToGeom_i
     Description : Predicate for selection on geometrical support
@@ -966,6 +988,8 @@ namespace SMESH
     BadOrientedVolume_ptr     CreateBadOrientedVolume();
     BareBorderFace_ptr        CreateBareBorderFace();
     BareBorderVolume_ptr      CreateBareBorderVolume();
+    OverConstrainedFace_ptr   CreateOverConstrainedFace();
+    OverConstrainedVolume_ptr CreateOverConstrainedVolume();
     LinearOrQuadratic_ptr     CreateLinearOrQuadratic();
     
     GroupColor_ptr            CreateGroupColor();