slaGeoc -

SYNOPSYS

void slaGeoc(p, h, r, z)

PARAMETERS

double p
double h
double *r
double *z

DESCRIPTION


  Convert geodetic position to geocentric.

  (double precision)

Given

     p     double     latitude (geodetic, radians)
     h     double     height above reference spheroid (geodetic, metres)

Returned

     *r    double     distance from Earth axis (AU)
     *z    double     distance from plane of Earth equator (AU)

Notes


     1)  Geocentric latitude can be obtained by evaluating atan2(z,r).

     2)  IAU 1976 constants are used.

Reference

     Green,R.M., Spherical Astronomy, CUP 1985, p98.

  P.T.Wallace   Starlink   25 July 1993

SEE ALSO