1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 23:03:22 +02:00
GPXSee/src/transversemercator.h

29 lines
659 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;
2017-04-02 22:18:03 +02:00
double _rectifyingRadius;
double _A, _B, _C, _D;
double _beta1, _beta2, _beta3, _beta4;
double _delta1, _delta2, _delta3, _delta4;
double _AStar, _BStar, _CStar, _DStar;
};
#endif // TRANSVERSEMERCATOR_H