mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 09:40:35 +05:00
SALOME Mesh module
38fb650b9e
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) + |
||
---|---|---|
adm_local | ||
bin | ||
doc | ||
idl | ||
resources | ||
src | ||
AUTHORS | ||
build_cmake | ||
build_cmake.bat | ||
build_configure | ||
ChangeLog | ||
clean_configure | ||
configure.ac | ||
COPYING | ||
cvs-tags | ||
INSTALL | ||
LICENCE | ||
Makefile.am | ||
NEWS | ||
README | ||
SMESH_version.h.in |