2017-03-29 00:17:47 +02:00
|
|
|
#ifndef TRANSVERSEMERCATOR_H
|
|
|
|
#define TRANSVERSEMERCATOR_H
|
|
|
|
|
|
|
|
#include "projection.h"
|
|
|
|
|
|
|
|
class TransverseMercator : public Projection
|
|
|
|
{
|
|
|
|
public:
|
2017-04-01 16:55:46 +02:00
|
|
|
TransverseMercator();
|
2017-03-29 00:17:47 +02:00
|
|
|
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
|