Extracting and setting the grid orientation
Usage
orientation(x, ...)
# S4 method for class 'trigrid'
orientation(x, display = "deg", ...)
orientation(x) <- value
# S4 method for class '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).