mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-03-31 19:58:26 +02:00
34 lines
752 B
C++
34 lines
752 B
C++
#ifndef TRANSVERSEMERCATOR_H
|
|
#define TRANSVERSEMERCATOR_H
|
|
|
|
#include "map/ct.h"
|
|
|
|
class Ellipsoid;
|
|
|
|
class TransverseMercator : public CT
|
|
{
|
|
public:
|
|
TransverseMercator(const Ellipsoid &ellipsoid, double latitudeOrigin,
|
|
double longitudeOrigin, double scale, double falseEasting,
|
|
double falseNorthing);
|
|
|
|
virtual CT *clone() const {return new TransverseMercator(*this);}
|
|
virtual bool operator==(const CT &ct) const;
|
|
|
|
virtual PointD ll2xy(const Coordinates &c) const;
|
|
virtual Coordinates xy2ll(const PointD &p) const;
|
|
|
|
private:
|
|
double _longitudeOrigin;
|
|
double _latitudeOrigin;
|
|
double _scale;
|
|
double _falseEasting;
|
|
double _falseNorthing;
|
|
double _a;
|
|
double _es;
|
|
double _ebs;
|
|
double _ap, _bp, _cp, _dp, _ep;
|
|
};
|
|
|
|
#endif // TRANSVERSEMERCATOR_H
|