rotaxisMat | R Documentation |
calculate a rotation matrix around an arbitrary axis in 3D
rotaxisMat(u, theta, homogeneous = FALSE)
u |
a vector around which to rotate |
theta |
angle in radians to rotate |
homogeneous |
logical: if TRUE a 4x4 rotation matrix is returned |
returns 3x3 rotation matrix
http://en.wikipedia.org/wiki/Rotation_matrix
rotaxis3d
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.