Go to the documentation of this file.00001 #ifndef VPGL_EARTH_CONSTANTS_H
00002 #define VPGL_EARTH_CONSTANTS_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include <vnl/vnl_math.h>
00013
00014
00015 #define DEGREES_TO_RADIANS (vnl_math::pi_over_180)
00016 #define RADIANS_TO_DEGREES (vnl_math::deg_per_rad)
00017
00018
00019
00020 #define GRS80_a 6378137.0
00021 #define GRS80_b 6356752.3
00022 #define GRS80_e 0.08181921805
00023
00024
00025 #define NAD27_a 6378206.4
00026 #define NAD27_e 8.227185424e-02
00027
00028 #define EARTH_GM 3.98601e+14
00029 #define SIDEREAL_DAY 86400.0
00030
00031 #define METERS_TO_FEET 3.280839895
00032 #define FEET_TO_METERS (1.0/3.280839895)
00033
00034 #endif //VPGL_EARTH_CONSTANTS_H
00035