Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

orientation

Extracting and setting the grid orientation


Description

Extracting and setting the grid orientation

Usage

orientation(x, ...)

## S4 method for signature 'trigrid'
orientation(x, display = "deg", ...)

orientation(x) <- value

## S4 replacement method for signature 'trigrid'
orientation(x) <- value

Arguments

x

(trigrid or hexagrid): Input grid.

...

Values passed on to the rotate function.

display

(character) The output unit. In case it is set to "deg" the output will be in degrees, in case it is "rad", then radians.

value

(numeric) The vector of rotation. Passed as the angles argument of rotate.

Value

In case the function returns does, it returns the orientation angles of the grid (as numeric).


icosa

Global Triangular and Penta-Hexagonal Grids Based on Tessellated Icosahedra

v0.10.1
GPL-3
Authors
Adam T. Kocsis [aut, cre]
Initial release
2021-01-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.