X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=idl%2FSMESH_Filter.idl;h=fcb5a993682e38c48b15730bc2712e031273f84c;hp=5018b07815759813ab6ef3f6a71973c6f2b9b29f;hb=79b1ac2b6df9117f16f11d444b1f165d477a1813;hpb=984c4ffdd7df62aeaedc544cd0b8e64ff8f53f1a diff --git a/idl/SMESH_Filter.idl b/idl/SMESH_Filter.idl index 5018b0781..fcb5a9936 100644 --- a/idl/SMESH_Filter.idl +++ b/idl/SMESH_Filter.idl @@ -55,6 +55,7 @@ module SMESH FT_BelongToGeom, FT_BelongToPlane, FT_BelongToCylinder, + FT_BelongToGenSurface, FT_LyingOnGeom, FT_RangeOfIds, FT_BadOrientedVolume, @@ -158,22 +159,28 @@ module SMESH /*! * Logical functor (predicate) "Belong To Surface". - * Base interface for "belong to plane" and "belong to cylinder interfaces" + * Base interface for "belong to plane" and "belong to cylinder" + * and "Belong To Generic Surface" interfaces */ interface BelongToSurface: Predicate { - void SetTolerance( in double theToler ); - double GetTolerance(); - void SetShapeName( in string theName, in ElementType theType ); - void SetShape( in string theID, in string theName, in ElementType theType ); - string GetShapeName(); - string GetShapeID(); + void SetTolerance( in double theToler ); + double GetTolerance(); + void SetShapeName( in string theName, in ElementType theType ); + void SetShape( in string theID, in string theName, in ElementType theType ); + string GetShapeName(); + string GetShapeID(); + /*! + * Limit surface extent to bounding box of boundaries (edges) + * in surface parametric space. Boundaries are ignored by default + */ + void SetUseBoundaries( in boolean theUseBndRestrictions ); + boolean GetUseBoundaries(); }; - /*! * Logical functor (predicate) "Belong To Plane". - * Verify whether mesh element lie in pointed Geom planar object + * Verify whether mesh element lie on pointed Geom planar object */ interface BelongToPlane: BelongToSurface { @@ -181,14 +188,23 @@ module SMESH }; /*! - * Logical functor (predicate) "Belong To Culinder". - * Verify whether mesh element lie in pointed Geom cylindrical object + * Logical functor (predicate) "Belong To Cylinder". + * Verify whether mesh element lie on pointed Geom cylindrical object */ interface BelongToCylinder: BelongToSurface { void SetCylinder( in GEOM::GEOM_Object theGeom, in ElementType theType ); }; + /*! + * Logical functor (predicate) "Belong To Generic Surface". + * Verify whether mesh element lie in pointed Geom cylindrical object + */ + interface BelongToGenSurface: BelongToSurface + { + void SetSurface( 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 @@ -391,6 +407,7 @@ module SMESH BelongToGeom CreateBelongToGeom(); BelongToPlane CreateBelongToPlane(); BelongToCylinder CreateBelongToCylinder(); + BelongToGenSurface CreateBelongToGenSurface(); LyingOnGeom CreateLyingOnGeom();