Learn R Programming

icosa (version 0.11.1)

Global Triangular and Penta-Hexagonal Grids Based on Tessellated Icosahedra

Description

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.

Copy Link

Version

Install

install.packages('icosa')

Monthly Downloads

249

Version

0.11.1

License

GPL-3

Maintainer

Adam Kocsis

Last Published

August 16th, 2024

Functions in icosa (0.11.1)

gridgraph

Create or instantiate an graph class graph from the faces of an icosahedral grid
heatMapLegend

Legend for a heatmap with predefined colors.
hexguide

Tessellation guide to hexagrid objects
icosa

Global Triangular and Hexa-Pentagonal Grids Based on Tessellated Icosahedra
length,trigrid-method

The number of faces in a trigrid or hexagrid class object.
lines,trigrid-method

Lines method for the trigrid and hexagrid classes
resample

Resampling of data involving a trigrid or a hexagrid object.
guides3d

Guides for 3d spherical plotting.
names,gridlayer-method

The face names in a facelayer class object
gridlabs3d

Display the names of the grid elements in 3d plots.
pos

Position of face centers and vertices on a grid
newgraph

Add an igraph object to a predefined slot in an icosahedral grid
newsf

Add a sf object to a predefined slot in a trigrid or hexagrid object
gridlabs

Labels of grid vertices, faces and edges.
locate

Basic lookup function of coordinates on an icosahedral grid
newsp

Add a SpatialPolygons object to a predefined slot in a trigrid or hexagrid object
lines3d

Methods of 3d line plotting
translate

Translating an icosahedral grid object in 3d Cartesian space
trishape

Shape distortions of the triangular faces and subfaces
surfacecentroid

Surface centroid point of a spherical point cloud
plot

Plot method for the trigrid, hexagrid or facelayer classes
plot3d

3d plotting of an icosahedral grid, its subset or a data layer
rotate

Rotation of trigrid and hexagrid objects
values

Extract and replace values from a gridlayer-derived object (e.g. link{facelayer}).
vertices

The vertices of an icosahedral grid object
rpsphere

Random point generation on the surface of a sphere
occupied

Faces occupied by the specified object
hexagrid-class

Construct a penta-hexagonal icosahedral grid
vicinity

The neighbouring faces of faces in an icosahedral grid
subset

Subsetting an icosahedral grid or data layers organized with them
surfacearea

Areas of grid cell surfaces
trigrid-class

A triangular icosahedral grid
triguide

Tessellation guide to trigrid objects
orientation

Extracting and setting the grid orientation
arcpoints

Calculation of point coordinates along an arc
PolToCar

Conversion of polar coordinates to 3d Cartesian coordinates
centers

The face centers of an icosahedral grid object
arcdist

Calculation of distances along arcs
SpPolygons

Spatial polygons from an icosahedral grid
arcdistmat

Calculation of distance matrices along arcs
cellocator

Locate grid faces based on their positions on a map
CarToPol

Conversion of 3d Cartesian coordinates to polar coordinates
arcs

Function to plot a set of great circle arcs between points
SpLines

Create a SpatialLines class object from an icosahedral grid
facelayer-class

A facelayer linked to a trigrid or hexagrid object
chullsphere

Spherical convex hull.
faces3d

Methods of 3D face plotting.
edges

The edges of a 3d object
gridensity

Icosahedral grid-based density estimation
[,gridlayer,ANY,missing-method

Extraction from a gridlayer using indices
faces

The face names of a trigrid or hexagrid object
edgelength

Lengths of grid edges