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

23 lines
483 B
C
Raw Normal View History

#ifndef TRANSVERSEMERCATOR_H
#define TRANSVERSEMERCATOR_H
#include "projection.h"
class TransverseMercator : public Projection
{
public:
TransverseMercator(double centralMeridian, double scale,
double falseEasting, double falseNorthing);
virtual QPointF ll2xy(const Coordinates &c) const;
virtual Coordinates xy2ll(const QPointF &p) const;
private:
double _centralMeridian;
double _scale;
double _falseEasting;
double _falseNorthing;
};
#endif // TRANSVERSEMERCATOR_H