euler_passive: Euler Rotation Angles

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Given three angles return rotation matrix.

Usage

1
euler_passive(phi, theta, psi)

Arguments

phi

angle with x-axis

theta

angle with y-axis

psi

angle with z-axis

Details

Code borrowed from cpp code in package cda. used in rgl.ellipsoid.

Value

3 by 3 rotation matrix.

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

See Also

rgl.ellipsoid

Examples

1
2
phi=30*pi/180 ; theta= 20*pi/180; psi = 6*pi/180
rr = euler_passive(phi,theta,psi)


Search within the Rquake package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.