fm_is_within {fmesher} | R Documentation |
Query if points are inside a mesh
Description
Queries whether each input point is within a mesh or not.
Usage
fm_is_within(x, y, ...)
Arguments
x |
A set of points/locations of a class supported by |
y |
An fm_mesh_2d or other class supported by
|
... |
Passed on to |
Value
A logical vector
Examples
all(fm_is_within(fmexample$loc, fmexample$mesh))
[Package fmesher version 0.5.0 Index]