get_node_mesh_geometry: Compute the mesh (polygons) for nodes

View source: R/extract.R

get_node_mesh_geometryR Documentation

Compute the mesh (polygons) for nodes

Description

Compute the mesh (polygons) for nodes

Usage

get_node_mesh_geometry(x, what = "lonlat", crs = "auto", ...)

Arguments

x

FVCOM ncdf4 object

what

character either 'lonlat' or 'xy'

crs

character (as "auto") or something suitable for st_crs

...

further arguments for distinct_polygons

Value

sf collection of POLYGON with the following variable

  • node node identifier

  • p1, p2, p3 the node identifiers for the three points define the polygon

  • geometry 4 point polygon (closed so first and last the same)


BigelowLab/fvcom documentation built on Nov. 8, 2024, 2:24 p.m.