Displaying 1 result from an estimated 1 matches for "rotm3d".
Did you mean:
rot13
2008 Oct 26
0
orthographic projection of ellipsoids
...ates of each object and use this as the outline of
the object. This is clearly not very efficient or satisfying.
I think I'm on the wrong track from the start. Is there an obvious
analytical parametrisation of such projections? Any comments are
welcome.
Many thanks,
baptiste
>
> rotM3d <- function(theta=0, phi=0, psi=0){ # 3D rotation matrix
> a11 <- cos(psi)*cos(phi) - cos(theta)*sin(phi)*sin(psi)
> a12 <- cos(psi)*sin(phi) + cos(theta)*cos(phi)*sin(psi)
> a13 <- sin(psi)*sin(theta)
> a21 <- -sin(psi)*cos(phi) - cos(theta)*sin(phi)*cos(psi)
> a...