From: eap Date: Tue, 14 Jun 2011 14:05:24 +0000 (+0000) Subject: 0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups X-Git-Tag: V6_4_0a1~208 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=097d80f01815979fe5a4995118283eb39f083434;p=modules%2Fsmesh.git 0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups + * Searching among the given elements, return elements of given type + * where the given point is IN or ON. + * + * 'ALL' type means elements of any type excluding nodes and 0D elements + */ + long_array FindAmongElementsByPoint(in SMESH_IDSource elements, + in double x, in double y, in double z, + in ElementType type); --- diff --git a/idl/SMESH_MeshEditor.idl b/idl/SMESH_MeshEditor.idl index 78f71bdd1..8ee52b341 100644 --- a/idl/SMESH_MeshEditor.idl +++ b/idl/SMESH_MeshEditor.idl @@ -694,6 +694,16 @@ module SMESH */ long_array FindElementsByPoint(in double x, in double y, in double z, in ElementType type); + /*! + * Searching among the given elements, return elements of given type + * where the given point is IN or ON. + * + * 'ALL' type means elements of any type excluding nodes and 0D elements + */ + long_array FindAmongElementsByPoint(in SMESH_IDSource elements, + in double x, in double y, in double z, + in ElementType type); + /*! * Return point state in a closed 2D mesh in terms of TopAbs_State enumeration. * TopAbs_UNKNOWN state means that either mesh is wrong or the analysis fails.