|
|
|
|
Coordinates Class Reference#include <coordinates.h>
List of all members.
|
Public Member Functions |
| Coordinates () |
| Coordinates (double lt, double ln, double alt) |
| Coordinates (const Coordinates *c) |
char * | get_ellipsoid () |
double | get_geoid_diff () |
void | set_ellipsoid (char *type) |
int | list_reference_ellipsoids (char *names[], unsigned int *len) |
void | coords2meters (double lat, double lon, double *x, double *y) |
void | meters2coords (double x, double y, double *lat, double *lon) |
double | coord_distance (double lat1, double lon1, double lat2, double lon2) |
Public Attributes |
Coordinate | latitude |
Coordinate | longitude |
double | lat |
double | lon |
double | altitude |
Static Public Attributes |
static const unsigned int | _GLOBAL_ELLIPSOIDS = 30 |
Detailed Description
Definition at line 52 of file coordinates.h.
Constructor & Destructor Documentation
Coordinates::Coordinates |
( |
|
) |
|
|
Coordinates::Coordinates |
( |
double |
lt, |
|
|
double |
ln, |
|
|
double |
alt |
|
) |
|
|
Member Function Documentation
double Coordinates::coord_distance |
( |
double |
lat1, |
|
|
double |
lon1, |
|
|
double |
lat2, |
|
|
double |
lon2 |
|
) |
|
|
void Coordinates::coords2meters |
( |
double |
lat, |
|
|
double |
lon, |
|
|
double * |
x, |
|
|
double * |
y |
|
) |
|
|
char* Coordinates::get_ellipsoid |
( |
|
) |
|
|
double Coordinates::get_geoid_diff |
( |
|
) |
|
|
int Coordinates::list_reference_ellipsoids |
( |
char * |
names[], |
|
|
unsigned int * |
len |
|
) |
|
|
void Coordinates::meters2coords |
( |
double |
x, |
|
|
double |
y, |
|
|
double * |
lat, |
|
|
double * |
lon |
|
) |
|
|
void Coordinates::set_ellipsoid |
( |
char * |
type |
) |
|
|
Member Data Documentation
|
Definition at line 68 of file coordinates.h.
Referenced by Environ_object::__coord2decimal(), Environ_object::__decimal2coord(), Configuration::cfg_to_xml(), Coordinates(), coords2meters(), Environ_object::get_coordinates(), main(), meters2coords(), Configuration::on_character_data(), Environ_object::set_coordinates(), and Environ_object::set_location(). |
|
Definition at line 69 of file coordinates.h.
Referenced by Environ_object::__coord2decimal(), Environ_object::__decimal2coord(), Configuration::cfg_to_xml(), Coordinates(), coords2meters(), Environ_object::get_coordinates(), main(), meters2coords(), Configuration::on_character_data(), Environ_object::set_coordinates(), and Environ_object::set_location(). |
The documentation for this class was generated from the following files:
|