distinct_polygons: Compute a table of distinct polygons (triangles) by listing...

View source: R/extract.R

distinct_polygonsR Documentation

Compute a table of distinct polygons (triangles) by listing the nodes (or elements).

Description

Compute a table of distinct polygons (triangles) by listing the nodes (or elements).

Usage

distinct_polygons(x, where = c("nodes", "elems")[1], ordered = FALSE)

Arguments

x

FVCOM ncdf4 object

where

character, either 'nodes' or "elems"

ordered

logical if TRUE then order the polygons by node id (low to high)

Value

ordered tibble of p1, p2, and p3


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