started adding earth-mapping

some new helper methods
added support for floorplan metadata load/save
This commit is contained in:
2017-03-10 13:47:12 +01:00
parent 2255904385
commit cad299cd7c
6 changed files with 252 additions and 28 deletions

21
geo/EarthPos.h Normal file
View File

@@ -0,0 +1,21 @@
#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