Enabled coordinate classes for DBus, added generation method for lat/lng by WGS84 strings

This commit is contained in:
Klaus Basan
2013-07-25 23:58:09 +02:00
parent 7316980a5c
commit 581638ec7f
21 changed files with 280 additions and 72 deletions

View File

@@ -1,7 +1,10 @@
#ifndef BLACKMISC_GEOLATITUDE_H
#define BLACKMISC_GEOLATITUDE_H
#include <QtCore/qmath.h>
#include "blackmisc/geoearthangle.h"
namespace BlackMisc
{
namespace Geo
@@ -34,6 +37,12 @@ public:
*/
CLatitude(const CLatitude &latitude) : CEarthAngle(latitude) {}
/*!
* \brief Constructor
* \param angle
*/
CLatitude(const BlackMisc::PhysicalQuantities::CAngle &angle) : CEarthAngle(angle) {}
/*!
* \brief Init by double value
* \param value
@@ -45,6 +54,7 @@ public:
* \brief Virtual destructor
*/
virtual ~CLatitude() {}
};
} // namespace