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

rotate

Rotation of trigrid and hexagrid objects


Description

Rotation of trigrid and hexagrid objects

Usage

rotate

## S4 method for signature 'trigrid'
rotate(x, angles = "random", pivot = NA)

Arguments

x

(trigrid or hexagrid) Input grid.

angles

(numeric): The vector of rotation in radians (three values in each dimension). If set to "random", the rotation will be random (default).

pivot

(numeric): The pivot point of the rotation, vector of xyz coordinates. Defaults to NA indicating that the rotation will be around the center of the grid.

Format

An object of class standardGeneric of length 1.

Value

Another trigrid or hexagrid class object.


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.