fm_is_within: Query if points are inside a mesh

View source: R/evaluator.R

fm_is_withinR 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, ...)

## Default S3 method:
fm_is_within(x, y, ...)

Arguments

x

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

y

An inla.mesh

...

Currently unused

Value

A logical vector

Examples

all(fm_is_within(fmexample$loc, fmexample$mesh))

fmesher documentation built on Nov. 2, 2023, 5:35 p.m.