1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-07 07:13:21 +02:00
GPXSee/src/map/utm.h

24 lines
421 B
C
Raw Normal View History

#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);
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);
private:
TransverseMercator _tm;
};
#endif // UTM_H