Functions | |
void | GCL::pol_to_rec (double psi, double l, double r, double &x, double &y, double &z) |
void | GCL::rec_to_pol (double x, double y, double z, double &psi, double &l, double &r) |
To convert between polar coordinates
and righthanded rectangular coordinates
References:
void GCL::pol_to_rec | ( | double | psi, | |
double | l, | |||
double | r, | |||
double & | x, | |||
double & | y, | |||
double & | z | |||
) |
convert polar into rectangular coordinates
[in] | psi | geocentric latitude |
[in] | l | geographic longitude |
[in] | r | geocentric distance |
[out] | x,y,z | rectangular coordinates |
void GCL::rec_to_pol | ( | double | x, | |
double | y, | |||
double | z, | |||
double & | psi, | |||
double & | l, | |||
double & | r | |||
) |
convert rectangular into polar coordinates
[in] | x,y,z | rectangular coordinate |
[out] | psi | geocentric latitude |
[out] | l | geographic longitude |
[out] | r | geocentric distance |