Salome HOME
0020743: EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() groups
[modules/smesh.git] / src / SMESH_I / SMESH_MeshEditor_i.hxx
index fc6b894183e5eb426f82be5cbc39db4260ec65c3..8400080714220830c35e549df04e54c71c99c49e 100644 (file)
@@ -483,6 +483,16 @@ public:
                                          CORBA::Double      y,
                                          CORBA::Double      z,
                                          SMESH::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
+   */
+  SMESH::long_array* FindAmongElementsByPoint(SMESH::SMESH_IDSource_ptr elements,
+                                              CORBA::Double             x,
+                                              CORBA::Double             y,
+                                              CORBA::Double             z,
+                                              SMESH::ElementType        type);
 
   /*!
    * Return point state in a closed 2D mesh in terms of TopAbs_State enumeration.