core/vpgl/vpgl_datum_conversion.h
Go to the documentation of this file.
00001 #ifndef vpgl_datum_conversion_h
00002 #define vpgl_datum_conversion_h
00003 //:
00004 // \file
00005 
00006 extern void nad27m_to_wgs84
00007   (double phi,               //!< input lat, lon, elev coord (degrees)
00008    double lamda,
00009    double height,
00010    double *wgs84_phi,        //!< lat new (degrees)
00011    double *wgs84_lamda,      //!< lon new (degrees)
00012    double *wgs84_hgt);       //!< elev new (meters)
00013 
00014 extern void wgs84_to_nad27m
00015   (double phi,               //!< input lat, lon, elev coord (degrees)
00016    double lamda,
00017    double height,
00018    double *nad27m_phi,       //!< lat new (degrees)
00019    double *nad27m_lamda,     //!< lon new (degrees)
00020    double *nad27m_hgt);      //!< elev new (meters)
00021 
00022 extern void nad27n_to_wgs84
00023   (double phi,               //!< input lat, lon, elev coord (degrees)
00024    double lamda,
00025    double height,
00026    double *wgs84_phi,        //!< lat new (degrees)
00027    double *wgs84_lamda,      //!< lon new (degrees)
00028    double *wgs84_hgt);       //!< elev new (meters)
00029 
00030 extern void wgs84_to_nad27n
00031   (double phi,               //!< input lat, lon, elev coord (degrees)
00032    double lamda,
00033    double height,
00034    double *nad27n_phi,       //!< lat new (degrees)
00035    double *nad27n_lamda,     //!< lon new (degrees)
00036    double *nad27n_hgt);      //!< elev new (meters)
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,                //!< input lat, lon, elev coord (degrees)
00049    double lamda,
00050    double height,
00051    double *wgs84_phi,         //!< lat new (degrees)
00052    double *wgs84_lamda,       //!< lon new (degrees)
00053    double *wgs84_hgt);        //!< elev new (meters)
00054 
00055 extern void wgs84_to_wgs72
00056   (
00057    double phi,                //!< input lat, lon, elev coord (degrees)
00058    double lamda,
00059    double height,
00060    double *wgs72_phi,         //!< lat new(degrees)
00061    double *wgs72_lamda,       //!< lon new (degrees)
00062    double *wgs72_hgt);        //!< elev new (meters)
00063 
00064 extern void latlong_to_GRS
00065   (double geodetic_lat,
00066    double lon,
00067    double el,                 //!< Input coordinates of point
00068    double *x,
00069    double *y,
00070    double *z,                 //!< Output GRS coords
00071    double A,
00072    double B);                 //!< Major and minor axes of earth
00073 
00074 extern void GRS_to_latlong
00075   (double x,double y,double z,//!< Input GRS coords
00076    double *geodetic_lat,
00077    double *lon,
00078    double *el,                //!< output coordinates of point
00079    double A,
00080    double B);                 //!< Major and minor axes of earth
00081 
00082 extern double geo_detic2centric
00083   (double geodetic_lat,       //!< gedetic  latitude of input point
00084    double A,
00085    double B);                 //!< Major and minor axes of earth
00086 
00087 extern void nad27n_to_wgs72
00088   (double phi,                //!< input lat, lon, elev coord (degrees)
00089    double lamda,
00090    double height,
00091    double *wgs72_phi,         //!< lat in wgs72 (degrees)
00092    double *wgs72_lamda,       //!< lon in wgs72 (degrees)
00093    double *wgs72_hgt);        //!< elev in wgs72 (meters)
00094 
00095 extern void wgs72_to_nad27n
00096   (double phi,                //!< input lat, lon, elev coord (degrees)
00097    double lamda,
00098    double height,
00099    double *nad27n_phi,        //!< lat in nad27n (degrees)
00100    double *nad27n_lamda,      //!< lon in nad27n (degrees)
00101    double *nad27n_hgt);       //!< elev in nad27n (meters)
00102 
00103 #endif // vpgl_datum_conversion_h