Learn R Programming

fmesher (version 0.1.7)

fm_is_within: 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, ...)

# S3 method for default fm_is_within(x, y, ...)

Value

A logical vector

Arguments

x

A set of points of a class supported by fm_evaluator(y, loc = x)

y

An inla.mesh

...

Currently unused

Examples

Run this code
all(fm_is_within(fmexample$loc, fmexample$mesh))

Run the code above in your browser using DataLab