Salome HOME
0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
authoreap <eap@opencascade.com>
Tue, 14 Jun 2011 14:05:24 +0000 (14:05 +0000)
committereap <eap@opencascade.com>
Tue, 14 Jun 2011 14:05:24 +0000 (14:05 +0000)
+     * 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);

idl/SMESH_MeshEditor.idl

index 78f71bdd13e1225e1ce43dfccdbd13733de9fa38..8ee52b34189b8c768b1dc87aec61290636b5d0b8 100644 (file)
@@ -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.