SALOME Mesh module
Go to file
eap 38fb650b9e 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

     def FindNodeClosestTo(self, x, y, z):
-        preview = self.mesh.GetMeshEditPreviewer()
-        return preview.MoveClosestNodeToPoint(x, y, z, -1)
+        #preview = self.mesh.GetMeshEditPreviewer()
+        #return preview.MoveClosestNodeToPoint(x, y, z, -1)
+        return self.editor.FindNodeClosestTo(x, y, z)

+    ## Finds the elements where a point lays IN or ON
+    #  @param x  the X coordinate of a point
+    #  @param y  the Y coordinate of a point
+    #  @param z  the Z coordinate of a point
+    #  @param elementType type of elements to find (SMESH.ALL type
+    #         means elements of any type excluding nodes and 0D elements)
+    #  @return list of IDs of found elements
+    #  @ingroup l2_modif_throughp
+    def FindElementsByPoint(self, x, y, z, elementType = SMESH.ALL):
+        return self.editor.FindElementsByPoint(x, y, z, elementType)
+
2009-09-10 05:54:04 +00:00
adm_local Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined 2009-08-13 05:50:13 +00:00
bin Improvement of "setenv.py" script - setting of custom enviroment by those modules, which have it, is performed by their own "<module_name>_setenv.py" scripts situated in their "bin" folders. 2009-05-06 13:12:13 +00:00
doc 0020108: EDF 852 SMESH : Add examples in projection algorithm doc 2009-08-27 13:55:31 +00:00
idl 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode 2009-09-10 05:40:45 +00:00
resources Integration improvements 0020310 and 0020431. 2009-08-27 07:26:22 +00:00
src 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode 2009-09-10 05:54:04 +00:00
AUTHORS Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
build_cmake *** empty log message *** 2009-02-24 09:08:32 +00:00
build_cmake.bat *** empty log message *** 2009-02-24 09:08:32 +00:00
build_configure Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined 2009-08-13 05:50:13 +00:00
ChangeLog DCQ : Merge with Ecole_Ete_a6. 2004-06-18 08:34:31 +00:00
clean_configure Merge from BR_V5_DEV 16Feb09 2009-02-17 05:27:49 +00:00
configure.ac Issue 20406: Time compilation when recompiling 2009-08-21 08:26:46 +00:00
COPYING Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
cvs-tags DCQ : Merge with Ecole_Ete_a6. 2004-06-18 08:34:31 +00:00
INSTALL Join modifications from branch BR_DEBUG_3_2_0b1 2006-06-01 11:39:17 +00:00
LICENCE NRI : add LICENCE file 2003-11-06 11:34:19 +00:00
Makefile.am Issue 20406: Time compilation when recompiling 2009-08-21 08:26:46 +00:00
NEWS Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
README Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
SMESH_version.h.in Merge from BR_V5_DEV 16Feb09 2009-02-17 05:27:49 +00:00