6 # define USE_DLL __declspec(dllexport)
91 #define MGRS_NO_ERROR 0x0000
92 #define MGRS_LAT_ERROR 0x0001
93 #define MGRS_LON_ERROR 0x0002
94 #define MGRS_STRING_ERROR 0x0004
95 #define MGRS_PRECISION_ERROR 0x0008
96 #define MGRS_A_ERROR 0x0010
97 #define MGRS_INV_F_ERROR 0x0020
98 #define MGRS_EASTING_ERROR 0x0040
99 #define MGRS_NORTHING_ERROR 0x0080
100 #define MGRS_ZONE_ERROR 0x0100
101 #define MGRS_HEMISPHERE_ERROR 0x0200
102 #define MGRS_LAT_WARNING 0x0400
118 char *Ellipsoid_Code);
132 char *Ellipsoid_Code);
int USE_DLL Convert_MGRS_To_UTM(char *MGRS, int *Zone, char *Hemisphere, double *Easting, double *Northing)
int USE_DLL Set_MGRS_Parameters(double a, double f, char *Ellipsoid_Code)
int USE_DLL Convert_UTM_To_MGRS(int Zone, char Hemisphere, double Easting, double Northing, int Precision, char *MGRS)
int USE_DLL Convert_UPS_To_MGRS(char Hemisphere, double Easting, double Northing, int Precision, char *MGRS)
int USE_DLL Convert_Geodetic_To_MGRS(double Latitude, double Longitude, int Precision, char *MGRS)
int USE_DLL Convert_MGRS_To_Geodetic(char *MGRS, double *Latitude, double *Longitude)
int USE_DLL Convert_MGRS_To_UPS(char *MGRS, char *Hemisphere, double *Easting, double *Northing)
void USE_DLL Get_MGRS_Parameters(double *a, double *f, char *Ellipsoid_Code)