Learn R Programming

fmesher (version 0.3.0)

fm_vertex_projection: 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)

Value

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

Arguments

points

A SpatialPointsDataFrame, sf, tibble, or list object

mesh

An fm_mesh_2d object

Examples

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

Run the code above in your browser using DataLab