powered by
Queries whether each input point is within a mesh or not.
fm_is_within(x, y, ...)
A logical vector
A set of points/locations of a class supported by fm_basis(y, loc = x, ..., full = TRUE)
fm_basis(y, loc = x, ..., full = TRUE)
An fm_mesh_2d or other class supported by fm_basis(y, loc = x, ..., full = TRUE)
Passed on to fm_basis()
fm_basis()
all(fm_is_within(fmexample$loc, fmexample$mesh))
Run the code above in your browser using DataLab