#include <math.h>
#include "polarst.h"
Go to the source code of this file.
|
int | Set_Polar_Stereographic_Parameters (double a, double f, double Latitude_of_True_Scale, double longitude_Down_from_Pole, double False_Easting, double False_Northing) |
|
void | Get_Polar_Stereographic_Parameters (double *a, double *f, double *Latitude_of_True_Scale, double *longitude_Down_from_Pole, double *False_Easting, double *False_Northing) |
|
int | Convert_Geodetic_To_Polar_Stereographic (double Latitude, double longitude, double *Easting, double *Northing) |
|
int | Convert_Polar_Stereographic_To_Geodetic (double Easting, double Northing, double *Latitude, double *longitude) |
|
#define PI 3.14159265358979323e0 /* PI */ |
#define PI_OVER_2 (PI / 2.0) |
#define POLAR_POW |
( |
|
EsSin | ) |
pow((1.0 - EsSin) / (1.0 + EsSin), es_OVER_2) |
#define TWO_PI (2.0 * PI) |
int Convert_Geodetic_To_Polar_Stereographic |
( |
double |
Latitude, |
|
|
double |
longitude, |
|
|
double * |
Easting, |
|
|
double * |
Northing |
|
) |
| |
int Convert_Polar_Stereographic_To_Geodetic |
( |
double |
Easting, |
|
|
double |
Northing, |
|
|
double * |
Latitude, |
|
|
double * |
longitude |
|
) |
| |
void Get_Polar_Stereographic_Parameters |
( |
double * |
a, |
|
|
double * |
f, |
|
|
double * |
Latitude_of_True_Scale, |
|
|
double * |
longitude_Down_from_Pole, |
|
|
double * |
False_Easting, |
|
|
double * |
False_Northing |
|
) |
| |
int Set_Polar_Stereographic_Parameters |
( |
double |
a, |
|
|
double |
f, |
|
|
double |
Latitude_of_True_Scale, |
|
|
double |
longitude_Down_from_Pole, |
|
|
double |
False_Easting, |
|
|
double |
False_Northing |
|
) |
| |
double e4 = 1.0033565552493 |
|
static |
double es = 0.08181919084262188000 |
|
static |
double es_OVER_2 = .040909595421311 |
|
static |
const double PI_Over_4 = (PI / 4.0) |
double Polar_a = 6378137.0 |
|
static |
double Polar_a_mc = 6378137.0 |
|
static |
double Polar_Delta_Easting = 12713601.0 |
|
static |
double Polar_Delta_Northing = 12713601.0 |
|
static |
double Polar_f = 1 / 298.257223563 |
|
static |
double Polar_False_Easting = 0.0 |
|
static |
double Polar_False_Northing = 0.0 |
|
static |
double Polar_Origin_int = 0.0 |
|
static |
double Polar_Origin_Lat = ((PI * 90) / 180) |
|
static |
double Southern_Hemisphere = 0 |
|
static |
double two_Polar_a = 12756274.0 |
|
static |