Extracting and setting the grid orientation
orientation(x, ...)# S4 method for trigrid
orientation(x, display = "deg", ...)
orientation(x) <- value
# S4 method for trigrid
orientation(x) <- value
In case the function returns does, it returns the orientation angles of the grid (as numeric).
(trigrid or hexagrid): Input grid.
Values passed on to the rotate function.
(character) The output unit. In case it is set to "deg" the output will be in degrees, in case it is "rad", then radians.
(numeric) The vector of rotation. Passed as the angles argument of rotate.