rotateCoords3d: Rotate coordinates in 3D

Description Usage Arguments Value

View source: R/tree-force-layout.R

Description

Rotate coordinates in 3D

Usage

1
rotateCoords3d(m, a, axis = c("x", "y", "z"))

Arguments

m

(Matrix) n cells x 3 matrix of coordinates

a

(Numeric) Angle to rotate

axis

(Character) Which axis to rotate around

Value

n x 3 matrix of rotated coordinates


farrellja/URD documentation built on June 17, 2020, 4:48 a.m.