icosa0.12.0 package

Global Triangular and Penta-Hexagonal Grids Based on Tessellated Icosahedra

centers

The face centers of an icosahedral grid object

hexagrid-class

Construct a penta-hexagonal icosahedral grid

newsf

Add a sf object to a predefined slot in a trigrid or hexagrid ob...

newsp

Add a SpatialPolygons object to a predefined slot in a trigrid or ...

rotate

Rotation of trigrid and hexagrid objects

cellocator

Locate grid faces based on their positions on a map

arcdist

Calculation of distances along arcs

arcdistmat

Calculation of distance matrices along arcs

arcpoints

Calculation of point coordinates along an arc

arcs

Function to plot a set of great circle arcs between points

CarToPol

Conversion of 3d Cartesian coordinates to polar coordinates

chullsphere

Spherical convex hull.

edgelength

Lengths of grid edges

edges

The edges of a 3d object

extract-methods

Extraction from a gridlayer using indices

facelayer-class

A facelayer linked to a trigrid or hexagrid object

faces

The face names of a trigrid or hexagrid object

faces3d

Methods of 3D face plotting.

gridensity

Icosahedral grid-based density estimation

gridgraph

Create or instantiate an graph class graph from the faces of an icos...

gridlabs

Labels of grid vertices, faces and edges.

gridlabs3d

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

guides3d

Guides for 3d spherical plotting.

heatMapLegend

Legend for a heatmap with predefined colors.

icosa

Global Triangular and Hexa-Pentagonal Grids Based on Tessellated Icosa...

length

The number of faces in a trigrid or hexagrid class object.

lines-methods

Lines method for the trigrid and hexagrid classes

lines3d

Methods of 3d line plotting

locate

Basic lookup function of coordinates on an icosahedral grid

names

The face names in a facelayer class object

newgraph

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

occupied

Faces occupied by the specified object

orientation

Extracting and setting the grid orientation

plot

Plot method for the trigrid, hexagrid or facelayer classes

plot3d

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

PolToCar

Conversion of polar coordinates to 3d Cartesian coordinates

pos

Position of face centers and vertices on a grid

resample

Resampling of data involving a trigrid or a hexagrid object.

rpsphere

Random point generation on the surface of a sphere

SpLines

Create a SpatialLines class object from an icosahedral grid

SpPolygons

Spatial polygons from an icosahedral grid

subset

Subsetting an icosahedral grid or data layers organized with them

surfacearea

Areas of grid cell surfaces

surfacecentroid

Surface centroid point of a spherical point cloud

translate

Translating an icosahedral grid object in 3d Cartesian space

trigrid-class

A triangular icosahedral grid

trishape

Shape distortions of the triangular faces and subfaces

values

Extract and replace values from a gridlayer-derived object (e.g. `link...

vertices

The vertices of an icosahedral grid object

vicinity

The neighbouring faces of faces in an icosahedral grid

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.

  • Maintainer: Adam T. Kocsis
  • License: GPL-3
  • Last published: 2025-08-28