mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-10-06 23:03:22 +02:00
31 lines
640 B
C
31 lines
640 B
C
|
#ifndef AZIMUTHALEQUALAREA_H
|
||
|
#define AZIMUTHALEQUALAREA_H
|
||
|
|
||
|
#include "ellipsoid.h"
|
||
|
#include "projection.h"
|
||
|
|
||
|
class AzimuthalEqualArea : public Projection
|
||
|
{
|
||
|
public:
|
||
|
AzimuthalEqualArea(const Ellipsoid &ellipsoid, double latitudeOrigin,
|
||
|
double longitudeOrigin, double falseEasting, double falseNorthing);
|
||
|
|
||
|
virtual QPointF ll2xy(const Coordinates &c) const;
|
||
|
virtual Coordinates xy2ll(const QPointF &p) const;
|
||
|
|
||
|
private:
|
||
|
Ellipsoid _e;
|
||
|
|
||
|
double _ra;
|
||
|
double _sinLatOrigin;
|
||
|
double _cosLatOrigin;
|
||
|
double _absLatOrigin;
|
||
|
|
||
|
double _latOrigin;
|
||
|
double _lonOrigin;
|
||
|
double _falseNorthing;
|
||
|
double _falseEasting;
|
||
|
};
|
||
|
|
||
|
#endif // AZIMUTHALEQUALAREA_H
|