treewide: remove FSF address
[osmocom-bb.git] / src / host / gsmmap / geo.h
blob25e26cbac71093150996afa98fdd787d36d6f1a0
1 /* WGS 84 */
2 #define EQUATOR_RADIUS 6378137.0
3 #define POLE_RADIUS 6356752.314
5 #define PI 3.1415926536
7 void geo2space(double *x, double *y, double *z, double lat, double lon);
8 void space2geo(double *lat, double *lon, double x, double y, double z);
9 double distinspace(double x1, double y1, double z1, double x2, double y2,
10 double z2);
11 double distonplane(double x1, double y1, double x2, double y2);