orientation: Extracting and setting the grid orientation

orientationR Documentation

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


adamkocsis/icosa documentation built on Aug. 20, 2024, 1:35 a.m.