Main Page | Alphabetical List | Data Structures | File List | Globals | Related Pages

latlong.h

Go to the documentation of this file.
00001 
00006 /*      $Id: latlong.h,v 1.8 2004/11/17 20:49:00 clavelei Exp $     */
00007 
00008 struct DATUM
00009 {
00010     char *name;
00011     short ellipsoid;
00012     short dx;
00013     short dy;
00014     short dz;
00015 };
00016 
00017 struct ELLIPSOID
00018 {
00019     char *name;                        /* name of ellipsoid */
00020     double a;                          /* semi-major axis, meters */
00021     double invf;                       /* 1/f */
00022 };
00023 
00024 
00025 #define  nDatums 107                                       /* nombre de datums definies dans datum.c */
00026 #define WGS84Index 105                                     /* index de WGS84 dans datum.c */
00027 
00028 extern struct DATUM const gDatum[];
00029 extern struct ELLIPSOID const gEllipsoid[];
00030 
00031 #define FromWGS84 1
00032 #define ToWGS84 0
00033 
00034 #include "sections.h"
00035 void translate (short fromWGS84, double *latitude, double *longitude, short datumID) LL_SECTION;

Generated on Sun Mar 13 09:36:01 2005 for GPilotS by doxygen 1.3.6