Package: icosa 0.11.1
icosa: Global Triangular and Penta-Hexagonal Grids Based on Tessellated Icosahedra
Implementation of icosahedral grids in three dimensions. The spherical-triangular tessellation can be set to create grids with custom resolutions. Both the primary triangular and their inverted penta-hexagonal grids can be calculated. Additional functions are provided that allow plotting of the grids and associated data, the interaction of the grids with other raster and vector objects, and treating the grids as a graphs.
Authors:
icosa_0.11.1.tar.gz
icosa_0.11.1.zip(r-4.5)icosa_0.11.1.zip(r-4.4)icosa_0.11.1.zip(r-4.3)
icosa_0.11.1.tgz(r-4.4-x86_64)icosa_0.11.1.tgz(r-4.4-arm64)icosa_0.11.1.tgz(r-4.3-x86_64)icosa_0.11.1.tgz(r-4.3-arm64)
icosa_0.11.1.tar.gz(r-4.5-noble)icosa_0.11.1.tar.gz(r-4.4-noble)
icosa_0.11.1.tgz(r-4.4-emscripten)icosa_0.11.1.tgz(r-4.3-emscripten)
icosa.pdf |icosa.html✨
icosa/json (API)
NEWS
# Install 'icosa' in R: |
install.packages('icosa', repos = c('https://icosa-grid.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/icosa-grid/r-icosa/issues
Last updated 3 months agofrom:0a5399b601. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 16 2024 |
R-4.5-win-x86_64 | OK | Oct 16 2024 |
R-4.5-linux-x86_64 | OK | Oct 16 2024 |
R-4.4-win-x86_64 | OK | Oct 16 2024 |
R-4.4-mac-x86_64 | OK | Oct 16 2024 |
R-4.4-mac-aarch64 | OK | Oct 16 2024 |
R-4.3-win-x86_64 | OK | Oct 16 2024 |
R-4.3-mac-x86_64 | OK | Oct 16 2024 |
R-4.3-mac-aarch64 | OK | Oct 16 2024 |
Exports:arcdistarcdistmatarcpointsarcsCarToPolcellocatorcenterschullsphereedgelengthedgesfacelayerfacesfaces3dgridensitygridgraphgridlabsgridlabs3dguides3dheatMapLegendhexagridlineslines3dlocatenewgraphnewsfnewspoccupiedorientationorientation<-plotplot3dplot3d.facelayerplot3d.hexagridplot3d.trigridPolToCarposresamplerotaterpsphereSpLinesSpPolygonssubsetsurfaceareasurfacecentroidtranslatetrigridtrishapevaluesvalues<-verticesvicinity
Dependencies:classclassIntclicpp11DBIe1071glueigraphKernSmoothlatticelifecyclemagrittrMASSMatrixpkgconfigproxyRcpprlangs2sfspunitsvctrswk
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Extraction from a gridlayer using indices | [,gridlayer,ANY,missing-method [,gridlayer,SpatExtent,missing-method [<-,gridlayer,ANY,ANY-method [<-,gridlayer-method |
Calculation of distances along arcs | arcdist |
Calculation of distance matrices along arcs | arcdistmat |
Calculation of point coordinates along an arc | arcpoints |
Function to plot a set of great circle arcs between points | arcs arcs,matrix-method |
Conversion of 3d Cartesian coordinates to polar coordinates | CarToPol CarToPol,data.frame-method CarToPol,matrix-method CarToPol,numeric-method |
Locate grid faces based on their positions on a map | cellocator |
The face centers of an icosahedral grid object | centers centers,facelayer-method centers,trigrid-method |
Spherical convex hull. | chullsphere |
Lengths of grid edges | edgelength edgelength,trigrid-method |
The edges of a 3d object | edges edges,facelayer-method edges,obj3d-method |
A 'facelayer' linked to a 'trigrid' or 'hexagrid' object | facelayer facelayer-class |
The face names of a trigrid or hexagrid object | faces faces,gridlayer-method faces,trigrid-method |
Methods of 3D face plotting. | faces3d faces3d,facelayer-method faces3d,hexagrid-method faces3d,trigrid-method |
Icosahedral grid-based density estimation | gridensity |
Create or instantiate an 'graph' class graph from the faces of an icosahedral grid | gridgraph gridgraph,facelayer-method gridgraph,hexagrid-method gridgraph,trigrid-method |
Labels of grid vertices, faces and edges. | gridlabs |
Display the names of the grid elements in 3d plots. | gridlabs3d gridlabs3d,hexagrid-method gridlabs3d,trigrid-method |
Guides for 3d spherical plotting. | guides3d |
Legend for a heatmap with predefined colors. | heatMapLegend |
Construct a penta-hexagonal icosahedral grid | hexagrid hexagrid-class |
Tessellation guide to 'hexagrid' objects | hexguide |
Global Triangular and Hexa-Pentagonal Grids Based on Tessellated Icosahedra | icosa-package icosa |
The number of faces in a 'trigrid' or 'hexagrid' class object. | length,gridlayer-method length,trigrid-method |
Lines method for the 'trigrid' and 'hexagrid' classes | lines,trigrid-method |
Methods of 3d line plotting | lines3d lines3d,Line-method lines3d,Lines-method lines3d,Polygon-method lines3d,Polygons-method lines3d,SpatialLines-method lines3d,SpatialLinesDataFrame-method lines3d,SpatialPolygons-method lines3d,SpatialPolygonsDataFrame-method lines3d,trigrid-method |
Basic lookup function of coordinates on an icosahedral grid | locate locate,hexagrid,matrix-method locate,trigrid,data.frame-method locate,trigrid,matrix-method locate,trigrid,numeric-method locate,trigrid,sf-method locate,trigrid,SpatialPoints-method locate,trigrid,SpatialPointsDataFrame-method |
The face names in a 'facelayer' class object | names,gridlayer-method |
Add an igraph object to a predefined slot in an icosahedral grid | newgraph newgraph,trigrid-method |
Add a 'sf' object to a predefined slot in a 'trigrid' or 'hexagrid' object | newsf newsf,trigrid-method |
Add a 'SpatialPolygons' object to a predefined slot in a 'trigrid' or 'hexagrid' object | newsp newsp,trigrid-method |
Faces occupied by the specified object | occupied |
Extracting and setting the grid orientation | orientation orientation,trigrid-method orientation<- orientation<-,trigrid-method |
Plot method for the 'trigrid', 'hexagrid' or 'facelayer' classes | plot plot,facelayer,ANY-method plot,trigrid,ANY-method plot,trigrid,array-method plot,trigrid,character-method plot,trigrid,logical-method plot,trigrid,numeric-method plot,trigrid,table-method |
3d plotting of an icosahedral grid, its subset or a data layer | plot3d plot3d.facelayer plot3d.hexagrid plot3d.trigrid |
Conversion of polar coordinates to 3d Cartesian coordinates | PolToCar PolToCar,data.frame-method PolToCar,matrix-method PolToCar,numeric-method |
Position of face centers and vertices on a grid | pos |
Resampling of data involving a 'trigrid' or a 'hexagrid' object. | resample resample,facelayer,SpatRaster-method resample,facelayer,trigrid-method resample,SpatRaster,trigrid-method |
Rotation of 'trigrid' and 'hexagrid' objects | rotate rotate,trigrid-method |
Random point generation on the surface of a sphere | rpsphere |
Create a 'SpatialLines' class object from an icosahedral grid | SpLines SpLines,trigrid-method |
Spatial polygons from an icosahedral grid | SpPolygons SpPolygons,hexagrid-method SpPolygons,trigrid-method |
Subsetting an icosahedral grid or data layers organized with them | subset subset,gridlayer-method subset,hexagrid-method subset,trigrid-method [,trigrid,ANY,ANY-method |
Areas of grid cell surfaces | surfacearea surfacearea,hexagrid-method surfacearea,trigrid-method |
Surface centroid point of a spherical point cloud | surfacecentroid surfacecentroid,data.frame-method surfacecentroid,matrix-method surfacecentroid,SpatialPoints-method |
Translating an icosahedral grid object in 3d Cartesian space | translate translate,hexagrid,numeric-method translate,trigrid,numeric-method |
A triangular icosahedral grid | trigrid trigrid-class |
Tessellation guide to 'trigrid' objects | triguide |
Shape distortions of the triangular faces and subfaces | trishape trishape,hexagrid-method trishape,trigrid-method |
Extract and replace values from a gridlayer-derived object (e.g. 'link{facelayer}'). | values values,gridlayer-method values<- values<-,gridlayer,ANY-method values<-,gridlayer-method |
The vertices of an icosahedral grid object | vertices vertices,facelayer-method vertices,trigrid-method |
The neighbouring faces of faces in an icosahedral grid | vicinity vicinity,trigrid,character-method |