From 282336d098334e961c5178568b263bf19984c2ac Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 10 Sep 2009 05:42:59 +0000 Subject: [PATCH] 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); + --- idl/SMESH_MeshEditor.idl | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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, -- 2.39.2