14 #ifndef _GEOPRIMITIVES_EULERANGLESHELPERS_H
15 #define _GEOPRIMITIVES_EULERANGLESHELPERS_H
55 if (convention == 0) {
56 ea =
mat.eulerAngles(2, 0, 2);
60 ea =
mat.eulerAngles(2, 1, 2);
71 phiThetaPsi_angles(0) = phi;
72 phiThetaPsi_angles(1) = theta;
73 phiThetaPsi_angles(2) = psi;
75 return phiThetaPsi_angles;
110 if (convention == 0) {
117 double phi = phi_theta_psi(0);
118 double theta = phi_theta_psi(1);
119 double psi = phi_theta_psi(2);
133 if (convention == 0) {
157 if (convention == 0) {