From: eap Date: Thu, 10 Sep 2009 05:42:59 +0000 (+0000) Subject: 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode X-Git-Tag: V4_1_0_maintainance_FINAL~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=282336d098334e961c5178568b263bf19984c2ac;p=modules%2Fsmesh.git 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode + /*! + * Return ID of node closest to a given point + */ + long FindNodeClosestTo(in double x, in double y, in double z); + 0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates + /*! + * 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 FindElementsByPoint(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 5da298ac4..69de8b6c0 100644 --- a/idl/SMESH_MeshEditor.idl +++ b/idl/SMESH_MeshEditor.idl @@ -506,6 +506,18 @@ module SMESH */ long MoveClosestNodeToPoint(in double x, in double y, in double z, in long nodeID); + /*! + * Return ID of node closest to a given point + */ + long FindNodeClosestTo(in double x, in double y, in double z); + + /*! + * 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 FindElementsByPoint(in double x, in double y, in double z, in ElementType type); + enum Sew_Error { SEW_OK, SEW_BORDER1_NOT_FOUND,