[−][src]Function gmsh_sys::gmshModelMeshGetElementByCoordinates
pub unsafe extern "C" fn gmshModelMeshGetElementByCoordinates(
x: f64,
y: f64,
z: f64,
elementTag: *mut usize,
elementType: *mut c_int,
nodeTags: *mut *mut usize,
nodeTags_n: *mut usize,
u: *mut f64,
v: *mut f64,
w: *mut f64,
dim: c_int,
strict: c_int,
ierr: *mut c_int
)
Search the mesh for an element located at coordinates (x, y, z). This
is a sometimes useful but inefficient way of accessing elements, as it
relies on a search in a spatial octree. If an element is found, return its
tag, type and node tags, as well as the local coordinates (u, v, w)
within the element corresponding to search location. If dim is >= 0, only
search for elements of the given dimension. If strict is not set, use a
tolerance to find elements near the search location.