Learn R Programming

⚠️There's a newer version (0.11.1) of this package.Take me there.

icosa (version 0.10.0)

Global Triangular and Penta-Hexagonal Grids Based on Tessellated Icosahedra

Description

Employs triangular tessellation to refine icosahedra defined in 3d space. The procedures can be set to provide a grid with a custom resolution. Both the primary triangular and their inverted penta- hexagonal grids are available for implementation. Additional functions are provided to position points (latitude-longitude data) on the grids, to allow 2D and 3D plotting, use raster data and shapefiles.

Copy Link

Version

Install

install.packages('icosa')

Monthly Downloads

266

Version

0.10.0

License

GPL-3

Maintainer

Adam Kocsis

Last Published

February 17th, 2020

Functions in icosa (0.10.0)

SpLines

Create a SpatialLines class object from an icosahedral grid
gridgraph

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

Legend for a heatmap with predefined colors.
gridlabs

Labels of grid vertices, faces and edges.
hexagrid-class

Construct a penta-hexagonal icosahedral grid
SpPolygons

Spatial polygons from an icosahedral grid
PolToCar

Conversion of polar coordinates to 3d Cartesian coordinates
CarToPol

Conversion of 3d Cartesian coordinates to polar coordinates
vertices

The vertices of an icosahedral grid object
plot3d

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

vicinity

The neighbouring faces of faces in an icosahedral grid
arcpoints

Calculation of point coordinates along an arc
gridlabs3d

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

Guides for 3d spherical plotting.
centers

The face centers of an icosahedral grid object
chullsphere

Spherical convex hull.
occupied

Faces occupied by the specified object
lines,trigrid-method

Lines method for the trigrid and hexagrid classes
lines3d

Methods of 3d line plotting
cellocator

Locate grid faces based on their positions on a map
[,gridlayer,ANY,missing-method

Extraction from a gridlayer using indices
facelayer-class

A facelayer linked to a trigrid or hexagrid object
edgelength

Lengths of grid edges
arcdist

Calculation of distances along arcs
arcdistmat

Calculation of distance matrices along arcs
faces

The faces of a 3d object
faces3d

Methods of 3D face plotting.
icosa

Global Triangular and Hexa-Pentagonal Grids Based on Tessellated Icosahedra
edges

The edges of a 3d object
newgraph

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

Translating an icosahedral grid object in 3d Cartesian space
orientation

Extracting and setting the grid orientation
trigrid-class

A triangular icosahedral grid
length,trigrid-method

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

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

Basic lookup function of coordinates on an icosahedral grid
subset

Subsetting an icosahedral grid or data layers organized with them
names,gridlayer-method

surfacecentroid

Surface centroid point of a spherical point cloud
rpsphere

Random point generation on the surface of a sphere
pos

Position of face centers and vertices on a grid
surfacearea

Areas of grid cell surfaces
rotate

trishape

Shape distortions of the triangular faces and subfaces
tessguide

resample

values

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