2017-05-04 20:25:47 +02:00
|
|
|
#ifndef ALBERSEQUAL_H
|
|
|
|
#define ALBERSEQUAL_H
|
|
|
|
|
2017-11-14 22:17:09 +01:00
|
|
|
#include "ellipsoid.h"
|
2017-05-04 20:25:47 +02:00
|
|
|
#include "projection.h"
|
|
|
|
|
|
|
|
class AlbersEqual : public Projection
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
AlbersEqual(const Ellipsoid &ellipsoid, double standardParallel1,
|
|
|
|
double standardParallel2, 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 _latitudeOrigin;
|
|
|
|
double _longitudeOrigin;
|
|
|
|
double _falseEasting;
|
|
|
|
double _falseNorthing;
|
|
|
|
|
|
|
|
double _rho0;
|
|
|
|
double _C;
|
|
|
|
double _n;
|
|
|
|
double _es;
|
|
|
|
double _es2;
|
|
|
|
double _a_over_n;
|
|
|
|
double _one_minus_es2;
|
|
|
|
double _two_es;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ALBERSEQUAL_H
|