get_mesh_geometry: Compute mesh (polygons) for nodes or elements

View source: R/extract.R

get_mesh_geometryR Documentation

Compute mesh (polygons) for nodes or elements

Description

Compute mesh (polygons) for nodes or elements

Usage

get_mesh_geometry(x, where = c("nodes", "elems")[2], ...)

Arguments

x

FVCOM ncdf4 object

where

character, either "nodes" or "elems" (default)

...

further arguments for get_elem_mesh_geometry or get_node_mesh_geometry

Value

sf collection of POLYGON with the following variable

  • p1, p2, p3 the point identifiers for the three points defining 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.