dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
utm.h File Reference

Go to the source code of this file.

Macros

#define UTM_NO_ERROR   0x0000
 
#define UTM_LAT_ERROR   0x0001
 
#define UTM_LON_ERROR   0x0002
 
#define UTM_EASTING_ERROR   0x0004
 
#define UTM_NORTHING_ERROR   0x0008
 
#define UTM_ZONE_ERROR   0x0010
 
#define UTM_HEMISPHERE_ERROR   0x0020
 
#define UTM_ZONE_OVERRIDE_ERROR   0x0040
 
#define UTM_A_ERROR   0x0080
 
#define UTM_INV_F_ERROR   0x0100
 

Functions

int Set_UTM_Parameters (double a, double f, int override)
 
void Get_UTM_Parameters (double *a, double *f, int *override)
 
int Convert_Geodetic_To_UTM (double Latitude, double intitude, int *Zone, char *Hemisphere, double *Easting, double *Northing)
 
int Convert_UTM_To_Geodetic (int Zone, char Hemisphere, double Easting, double Northing, double *Latitude, double *intitude)
 

Macro Definition Documentation

#define UTM_A_ERROR   0x0080

Definition at line 88 of file utm.h.

#define UTM_EASTING_ERROR   0x0004

Definition at line 83 of file utm.h.

#define UTM_HEMISPHERE_ERROR   0x0020

Definition at line 86 of file utm.h.

#define UTM_INV_F_ERROR   0x0100

Definition at line 89 of file utm.h.

#define UTM_LAT_ERROR   0x0001

Definition at line 81 of file utm.h.

#define UTM_LON_ERROR   0x0002

Definition at line 82 of file utm.h.

#define UTM_NO_ERROR   0x0000

Definition at line 80 of file utm.h.

#define UTM_NORTHING_ERROR   0x0008

Definition at line 84 of file utm.h.

#define UTM_ZONE_ERROR   0x0010

Definition at line 85 of file utm.h.

#define UTM_ZONE_OVERRIDE_ERROR   0x0040

Definition at line 87 of file utm.h.

Function Documentation

int Convert_Geodetic_To_UTM ( double  Latitude,
double  intitude,
int *  Zone,
char *  Hemisphere,
double *  Easting,
double *  Northing 
)

Definition at line 172 of file utm.c.

int Convert_UTM_To_Geodetic ( int  Zone,
char  Hemisphere,
double  Easting,
double  Northing,
double *  Latitude,
double *  intitude 
)

Definition at line 291 of file utm.c.

void Get_UTM_Parameters ( double *  a,
double *  f,
int *  override 
)

Definition at line 153 of file utm.c.

int Set_UTM_Parameters ( double  a,
double  f,
int  override 
)

Definition at line 113 of file utm.c.