FACT++  1.0
static void t_gc2gde ( int *  status)
static

Definition at line 3984 of file t_erfa_c.c.

References eraGc2gde(), viv(), and vvd().

Referenced by main().

3999 {
4000  int j;
4001  double a = 6378136.0, f = 0.0033528;
4002  double xyz[] = {2e6, 3e6, 5.244e6};
4003  double e, p, h;
4004 
4005  j = eraGc2gde(a, f, xyz, &e, &p, &h);
4006 
4007  viv(j, 0, "eraGc2gde", "j", status);
4008  vvd(e, 0.98279372324732907, 1e-14, "eraGc2gde", "e", status);
4009  vvd(p, 0.97160183775704115, 1e-14, "eraGc2gde", "p", status);
4010  vvd(h, 332.36862495764397, 1e-8, "eraGc2gde", "h", status);
4011 }
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
int eraGc2gde(double a, double f, double xyz[3], double *elong, double *phi, double *height)
Definition: gc2gde.c:3
static void viv(int ival, int ivalok, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:24

+ Here is the call graph for this function:

+ Here is the caller graph for this function: