Learn R Programming

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

icosa (version 0.10.1)

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.1

License

GPL-3

Maintainer

Adam Kocsis

Last Published

January 12th, 2021

Functions in icosa (0.10.1)

centers

The face centers of an icosahedral grid object
SpLines

Create a SpatialLines class object from an icosahedral grid
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
PolToCar

Conversion of polar coordinates to 3d Cartesian coordinates
CarToPol

Conversion of 3d Cartesian coordinates to polar coordinates
chullsphere

Spherical convex hull.
SpPolygons

Spatial polygons from an icosahedral grid
[,gridlayer,ANY,missing-method

Extraction from a gridlayer using indices
facelayer-class

A facelayer linked to a trigrid or hexagrid object
faces

The faces of a 3d object
newsp

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

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

Rotation of trigrid and hexagrid objects
rpsphere

Random point generation on the surface of a sphere
orientation

Extracting and setting the grid orientation
occupied

Faces occupied by the specified object
edgelength

Lengths of grid edges
edges

The edges of a 3d object
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.
plot3d

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

The vertices of an icosahedral grid object
gridlabs3d

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

Basic lookup function of coordinates on an icosahedral grid
guides3d

Guides for 3d spherical plotting.
plot

Plot method for the trigrid, hexagrid or facelayer classes
vicinity

The neighbouring faces of faces in an icosahedral grid
gridlabs

Labels of grid vertices, faces and edges.
gridgraph

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

Legend for a heatmap with predefined colors.
hexagrid-class

Construct a penta-hexagonal icosahedral grid
tessguide

Tessellation guide to hexagrid objects
surfacecentroid

Surface centroid point of a spherical point cloud
names,gridlayer-method

The face names in a facelayer class object
trigrid-class

A triangular icosahedral grid
surfacearea

Areas of grid cell surfaces
translate

Translating an icosahedral grid object in 3d Cartesian space
subset

Subsetting an icosahedral grid or data layers organized with them
faces3d

Methods of 3D face plotting.
lines3d

Methods of 3d line plotting
lines,trigrid-method

Lines method for the trigrid and hexagrid classes
pos

Position of face centers and vertices on a grid
resample

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

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

Shape distortions of the triangular faces and subfaces