966 double dr0, dd0, dr1, dd1, dx, dy, dr2, dd2, dr01,
973 palDs2tp( dr1, dd1, dr0, dd0, &dx, &dy, &j );
974 vvd( dx, 0.1086112301590404, 1e-12,
"palDs2tp",
976 vvd( dy, -0.1095506200711452, 1e-12,
"palDs2tp",
978 viv( j, 0,
"palDs2tp",
"j", status );
980 palDtp2s( dx, dy, dr0, dd0, &dr2, &dd2 );
981 vvd( dr2 - dr1, 0., 1e-12,
"palDtp2s",
"r", status );
982 vvd( dd2 - dd1, 0., 1e-12,
"palDtp2s",
"d", status );
984 palDtps2c( dx, dy, dr2, dd2, &dr01, &dd01, &dr02, &dd02, &j );
985 vvd( dr01, 3.1, 1e-12,
"palDtps2c",
"r1", status);
986 vvd( dd01, -0.9, 1e-12,
"palDtps2c",
"d1", status);
987 vvd( dr02, 0.3584073464102072, 1e-12,
"palDtps2c",
989 vvd( dd02, -2.023361658234722, 1e-12,
"palDtps2c",
991 viv( j, 1,
"palDtps2c",
"n", status );
void palDtps2c(double xi, double eta, double ra, double dec, double *raz1, double *decz1, double *raz2, double *decz2, int *n)
static void viv(int ival, int ivalok, const char *func, const char *test, int *status)
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
void palDs2tp(double ra, double dec, double raz, double decz, double *xi, double *eta, int *j)
void palDtp2s(double xi, double eta, double raz, double decz, double *ra, double *dec)