rotate3d: Rotate 3D

Description Usage Arguments Details Value Author(s) Examples

Description

Rotate 3d coordinates around given angles

Usage

1
rotate3d(x = NULL, y = NULL, z = NULL, i = 0, j = 0, k = 0)

Arguments

x

X coordinates

y

Y coordinates

z

Z coordinates

i

Angle to rotate around in the xy plane

j

Angle to rotate around in the xz plane

k

Angle to rotate around in the yz plane

Details

Rotates x,y,z coordinates in three planes around the 0,0 center.

Value

Returns rotated x,y,z coordinates

Author(s)

Optical Imaging Centre ErasmusMC Rotterdam

Examples

1
rotate3d(c(100,125,175),c(175,125,100),c(150,100,100), 12,50,45)

maartenpaul/SMoLR documentation built on May 21, 2019, 10:14 a.m.