mesh.dual | R Documentation |
Extracts the dual of a mesh object.
mesh.dual(
mesh,
returnclass = c("list", "sf", "sv", "SP"),
mc.cores = getOption("mc.cores", 2L)
)
mesh |
a 2d mesh object. |
returnclass |
if 'list' return a list of polygon coordinates, if "sf" return a 'sf' sfc_multipolygon object, if "sv" return a 'terra', SpatVector object, if "SP" return a 'sp' SpatialPolygons object. |
mc.cores |
number of threads to be used. |
one of the three in 'returnclass'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.