View source: R/euler_passive.R
euler_passive | R Documentation |
Given three angles return rotation matrix.
euler_passive(phi, theta, psi)
phi |
angle with x-axis |
theta |
angle with y-axis |
psi |
angle with z-axis |
Code borrowed from cpp code in package cda. used in rgl.ellipsoid.
3 by 3 rotation matrix.
Jonathan M. Lees<jonathan.lees@unc.edu>, Baptiste Auguie<baptiste.auguie@gmail.com>
rgl.ellipsoid
options(rgl.useNULL = TRUE)
phi=30*pi/180 ; theta= 20*pi/180; psi = 6*pi/180
rr = euler_passive(phi,theta,psi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.