started adding earth-mapping
some new helper methods added support for floorplan metadata load/save
This commit is contained in:
21
geo/EarthPos.h
Normal file
21
geo/EarthPos.h
Normal 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
|
||||
Reference in New Issue
Block a user