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);
+
This commit is contained in:
eap 2009-09-10 05:40:45 +00:00
parent 0f2c407672
commit 58a4d3cca6

View File

@ -614,6 +614,18 @@ module SMESH
*/ */
long MoveClosestNodeToPoint(in double x, in double y, in double z, in long nodeID); 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 { enum Sew_Error {
SEW_OK, SEW_OK,
SEW_BORDER1_NOT_FOUND, SEW_BORDER1_NOT_FOUND,