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
,
11 double distonplane(double x1
, double y1
, double x2
, double y2
);