1 #ifndef __JEULERMATRIX3D__ 
    2 #define __JEULERMATRIX3D__ 
   14 namespace JGEOMETRY3D {}
 
   15 namespace JPP { 
using namespace JGEOMETRY3D; }
 
   17 namespace JGEOMETRY3D {
 
   52       const double ca = cos(euler.
getAlpha());
 
   54       const double cb = cos(euler.
getBeta());
 
   56       const double cg = cos(euler.
getGamma());
 
   59       a00 =  cg*ca - sg*cb*sa;  
a01 = -cg*sa - sg*cb*ca;  
a02 =  sg*sb;
 
   60       a10 =  sg*ca + cg*cb*sa;  
a11 = -sg*sa + cg*cb*ca;  
a12 = -cg*sb;
 
Data structure for Euler angles in three dimensions. 
double getGamma() const 
Get gamma angle. 
JEulerMatrix3D()
Default constructor (= identity matrix). 
double getAlpha() const 
Get alpha angle. 
double getBeta() const 
Get beta angle. 
JEulerMatrix3D(const JEulerAngle3D &euler)
Constructor.