31 #ifndef PLANCK_TRAFOS_H 32 #define PLANCK_TRAFOS_H 38 enum coordsys { Ecliptic, Equatorial, Galactic };
46 static vec3 xcc_dp_precess (
const vec3 &iv,
double iepoch,
double oepoch);
47 static double get_epsilon (
double epoch);
48 static vec3 xcc_dp_e_to_q (
const vec3 &iv,
double epoch);
49 static vec3 xcc_dp_q_to_e (
const vec3 &iv,
double epoch);
50 static vec3 xcc_dp_g_to_e (
const vec3 &iv,
double epoch);
51 static vec3 xcc_dp_e_to_g (
const vec3 &iv,
double epoch);
52 static vec3 xcc_v_convert(
const vec3 &iv,
double iepoch,
double oepoch,
53 coordsys isys,coordsys osys);
54 static void coordsys2matrix (
double iepoch,
double oepoch, coordsys isys,
60 Trafo (
double iepoch,
double oepoch, coordsys isys, coordsys osys);
72 double &delta_psi)
const;
Trafo(double iepoch, double oepoch, coordsys isys, coordsys osys)
const rotmatrix & Matrix() const
vec3 operator()(const vec3 &vec) const
void rotatefull(const pointing &ptg, pointing &newptg, double &delta_psi) const
vec3 Transform(const vec3 &vec) const