2017-04-01 15:58:32 +02:00
|
|
|
#ifndef UTM_H
|
|
|
|
#define UTM_H
|
|
|
|
|
|
|
|
#include "projection.h"
|
|
|
|
#include "transversemercator.h"
|
|
|
|
|
|
|
|
class UTM : public Projection
|
|
|
|
{
|
|
|
|
public:
|
2017-04-09 10:26:09 +02:00
|
|
|
UTM(const Ellipsoid &ellipsoid, int zone);
|
2017-04-01 15:58:32 +02:00
|
|
|
|
|
|
|
virtual QPointF ll2xy(const Coordinates &c) const
|
|
|
|
{return _tm.ll2xy(c);}
|
|
|
|
virtual Coordinates xy2ll(const QPointF &p) const
|
|
|
|
{return _tm.xy2ll(p);}
|
|
|
|
|
2017-11-26 18:54:03 +01:00
|
|
|
static int zone(const Coordinates &c);
|
|
|
|
|
2017-04-01 15:58:32 +02:00
|
|
|
private:
|
|
|
|
TransverseMercator _tm;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // UTM_H
|