rotate_coordinates: Rotate a matrix of 2D coordinates

Description Usage Arguments Value

View source: R/rotation_utilities.R

Description

Rotate a matrix of 2D coordinates

Usage

1
rotate_coordinates(coords, angle, center)

Arguments

coords

[matrix]
Numeric matrix of 2D coordinates to rotate

angle

[numeric(1)]
Angle by which to rotate the coordinates. In radians.

center

[matrix]
Center around which to rotate the coordinates.

Value

A matrix of rotated coordinates.


tspmeta documentation built on May 2, 2019, 2:43 a.m.