#include "tranmerc.h"
#include "utm.h"
Go to the source code of this file.
|
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) |
|
#define MAX_EASTING 900000 |
Definition at line 93 of file utm.c.
#define MAX_LAT ( (84.5 * PI) / 180.0 ) /* 84.5 degrees in radians */ |
Definition at line 91 of file utm.c.
#define MAX_NORTHING 10000000 |
Definition at line 95 of file utm.c.
#define MIN_EASTING 100000 |
Definition at line 92 of file utm.c.
#define MIN_LAT ( (-80.5 * PI) / 180.0 ) /* -80.5 degrees in radians */ |
Definition at line 90 of file utm.c.
Definition at line 94 of file utm.c.
#define PI 3.14159265358979323e0 /* PI */ |
Definition at line 89 of file utm.c.
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 |
|
) |
| |
void Get_UTM_Parameters |
( |
double * |
a, |
|
|
double * |
f, |
|
|
int * |
override |
|
) |
| |
int Set_UTM_Parameters |
( |
double |
a, |
|
|
double |
f, |
|
|
int |
override |
|
) |
| |
double UTM_f = 1 / 298.257223563 |
|
static |