get_elem_mesh_geometry: Compute the mesh (polygons) for elements

View source: R/extract.R

get_elem_mesh_geometryR Documentation

Compute the mesh (polygons) for elements

Description

Compute the mesh (polygons) for elements

Usage

get_elem_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 variables

  • elem the element 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.