22 lines
349 B
C
22 lines
349 B
C
#ifndef EARTHPOS_H
|
|
#define EARTHPOS_H
|
|
|
|
/** describes the location on the earth's surface */
|
|
struct EarthPos {
|
|
|
|
double lat;
|
|
|
|
double lon;
|
|
|
|
/** height above sea level */
|
|
float height;
|
|
|
|
/** ctor with values */
|
|
EarthPos(const double lat, const double lon, const float height) : lon(lon), lat(lat), height(height) {
|
|
;
|
|
}
|
|
|
|
};
|
|
|
|
#endif // EARTHPOS_H
|