quadmesh
A quadmesh is a dense mesh describing a topologically continuous surface of 4-corner primitives. This is also known as a cell-based raster but in those contexts the corner coordinates and the continuous nature of the mesh is completely implicit. By making the dense mesh explicit we have access to every corner coordinate (not just the centres) which allows for some extra facilities over raster grids.
This package provides helpers for working with this mesh interpretation of gridded data to enable
- arbitrary reprojection of raster cells without information loss
(
mesh_plot)
. - the corner-based interpretation of a grid (
quadmesh()
). - easy plotting of grids in 3D visualization tools (
quad primitives
inrgl mesh3d
). - fast polygonization of individual cells, in spex::polygonize.
You can install:
- the latest released version from CRAN with
install.packages("quadmesh")
- the latest development version from Github with
devtools::install_github("mdsumner/quadmesh")
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.