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

Go to the source code of this file.

Macros

#define POLAR_NO_ERROR   0x0000
 
#define POLAR_LAT_ERROR   0x0001
 
#define POLAR_LON_ERROR   0x0002
 
#define POLAR_ORIGIN_LAT_ERROR   0x0004
 
#define POLAR_ORIGIN_LON_ERROR   0x0008
 
#define POLAR_EASTING_ERROR   0x0010
 
#define POLAR_NORTHING_ERROR   0x0020
 
#define POLAR_A_ERROR   0x0040
 
#define POLAR_INV_F_ERROR   0x0080
 
#define POLAR_RADIUS_ERROR   0x0100
 

Functions

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)
 

Macro Definition Documentation

#define POLAR_A_ERROR   0x0040

Definition at line 104 of file polarst.h.

#define POLAR_EASTING_ERROR   0x0010

Definition at line 102 of file polarst.h.

#define POLAR_INV_F_ERROR   0x0080

Definition at line 105 of file polarst.h.

#define POLAR_LAT_ERROR   0x0001

Definition at line 98 of file polarst.h.

#define POLAR_LON_ERROR   0x0002

Definition at line 99 of file polarst.h.

#define POLAR_NO_ERROR   0x0000

Definition at line 97 of file polarst.h.

#define POLAR_NORTHING_ERROR   0x0020

Definition at line 103 of file polarst.h.

#define POLAR_ORIGIN_LAT_ERROR   0x0004

Definition at line 100 of file polarst.h.

#define POLAR_ORIGIN_LON_ERROR   0x0008

Definition at line 101 of file polarst.h.

#define POLAR_RADIUS_ERROR   0x0100

Definition at line 106 of file polarst.h.

Function Documentation

int Convert_Geodetic_To_Polar_Stereographic ( double  Latitude,
double  longitude,
double *  Easting,
double *  Northing 
)

Definition at line 305 of file polarst.c.

int Convert_Polar_Stereographic_To_Geodetic ( double  Easting,
double  Northing,
double *  Latitude,
double *  longitude 
)

Definition at line 404 of file polarst.c.

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 
)

Definition at line 275 of file polarst.c.

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 
)

Definition at line 154 of file polarst.c.