Salome HOME
PAL7221 (DEVELOPMENT : Improve filter which find elements on Shape).
[modules/smesh.git] / idl / SMESH_Filter.idl
index 367e53da21369d1df58cecf1facb95c18ff06f2c..c66a90ea05998d56f916ad456db1be5be90f8cca 100644 (file)
@@ -60,6 +60,7 @@ module SMESH
     FT_BelongToGeom,
     FT_BelongToPlane,
     FT_BelongToCylinder,
+    FT_LyingOnGeom,
     FT_RangeOfIds,
     FT_LessThan,
     FT_MoreThan,
@@ -180,6 +181,19 @@ module SMESH
     void   SetCylinder( in GEOM::GEOM_Object theGeom, in ElementType theType );
   };
 
+  /*!
+  * Logical functor (predicate) "Lying On Geometry".
+  * Verify whether mesh element or node lying or partially lying on the pointed Geom Object
+  */
+  interface LyingOnGeom: Predicate
+  {
+    void SetGeom( in GEOM::GEOM_Object theGeom );
+    void SetElementType( in ElementType theType );
+
+    void   SetShapeName( in string theName );
+    string GetShapeName();    
+  };
   /*!
   * Logical functor (predicate) "Free borders".
   * Verify whether 1D mesh element is free ( i.e. connected to one face only )
@@ -362,6 +376,8 @@ module SMESH
     BelongToPlane     CreateBelongToPlane();
     BelongToCylinder  CreateBelongToCylinder();
 
+    LyingOnGeom       CreateLyingOnGeom();
+
     FreeBorders       CreateFreeBorders();
     FreeEdges         CreateFreeEdges();