fm_vertex_projection {fmesher}R Documentation

Project integration points to mesh vertices

Description

Compute information for assigning points to the vertices of the covering triangle

Usage

fm_vertex_projection(points, mesh)

Arguments

points

A SpatialPointsDataFrame, sf, tibble, or list object

mesh

An fm_mesh_2d object

Value

SpatialPointsDataFrame, sf, tibble, or list of mesh vertices with projected data attached

Examples

head(fm_vertex_projection(list(loc = fmexample$loc), fmexample$mesh))
head(fm_vertex_projection(fmexample$loc_sf, fmexample$mesh))


[Package fmesher version 0.5.0 Index]