00001 #ifndef vpgl_datum_conversion_h
00002 #define vpgl_datum_conversion_h
00003
00004
00005
00006 extern void nad27m_to_wgs84
00007 (double phi,
00008 double lamda,
00009 double height,
00010 double *wgs84_phi,
00011 double *wgs84_lamda,
00012 double *wgs84_hgt);
00013
00014 extern void wgs84_to_nad27m
00015 (double phi,
00016 double lamda,
00017 double height,
00018 double *nad27m_phi,
00019 double *nad27m_lamda,
00020 double *nad27m_hgt);
00021
00022 extern void nad27n_to_wgs84
00023 (double phi,
00024 double lamda,
00025 double height,
00026 double *wgs84_phi,
00027 double *wgs84_lamda,
00028 double *wgs84_hgt);
00029
00030 extern void wgs84_to_nad27n
00031 (double phi,
00032 double lamda,
00033 double height,
00034 double *nad27n_phi,
00035 double *nad27n_lamda,
00036 double *nad27n_hgt);
00037
00038 extern void nad27n_to_wgs84_alternate
00039 (double nad27_lat, double nad27_lon, double nad27_el,
00040 double *wgs84_lat, double *wgs84_lon, double *wgs84_el);
00041
00042 extern void wgs84_to_nad27n_alternate
00043 (double wgs84_lat, double wgs84_lon, double wgs84_el,
00044 double *nad27n_lat, double *nad27n_lon, double *nad27n_el);
00045
00046 extern void wgs72_to_wgs84
00047 (
00048 double phi,
00049 double lamda,
00050 double height,
00051 double *wgs84_phi,
00052 double *wgs84_lamda,
00053 double *wgs84_hgt);
00054
00055 extern void wgs84_to_wgs72
00056 (
00057 double phi,
00058 double lamda,
00059 double height,
00060 double *wgs72_phi,
00061 double *wgs72_lamda,
00062 double *wgs72_hgt);
00063
00064 extern void latlong_to_GRS
00065 (double geodetic_lat,
00066 double lon,
00067 double el,
00068 double *x,
00069 double *y,
00070 double *z,
00071 double A,
00072 double B);
00073
00074 extern void GRS_to_latlong
00075 (double x,double y,double z,
00076 double *geodetic_lat,
00077 double *lon,
00078 double *el,
00079 double A,
00080 double B);
00081
00082 extern double geo_detic2centric
00083 (double geodetic_lat,
00084 double A,
00085 double B);
00086
00087 extern void nad27n_to_wgs72
00088 (double phi,
00089 double lamda,
00090 double height,
00091 double *wgs72_phi,
00092 double *wgs72_lamda,
00093 double *wgs72_hgt);
00094
00095 extern void wgs72_to_nad27n
00096 (double phi,
00097 double lamda,
00098 double height,
00099 double *nad27n_phi,
00100 double *nad27n_lamda,
00101 double *nad27n_hgt);
00102
00103 #endif // vpgl_datum_conversion_h