2019-01-08 21:42:28 +01:00
|
|
|
#ifndef POLARSTEREOGRAPHIC_H
|
|
|
|
#define POLARSTEREOGRAPHIC_H
|
|
|
|
|
|
|
|
#include "ct.h"
|
|
|
|
|
|
|
|
class Ellipsoid;
|
|
|
|
|
|
|
|
class PolarStereographic : public CT
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
PolarStereographic(const Ellipsoid *ellipsoid, double latitudeOrigin,
|
|
|
|
double longitudeOrigin, double falseEasting, double falseNorthing);
|
2020-04-21 23:26:35 +02:00
|
|
|
|
2019-01-08 21:42:28 +01:00
|
|
|
virtual CT *clone() const {return new PolarStereographic(*this);}
|
2020-04-21 23:26:35 +02:00
|
|
|
virtual bool operator==(const CT &ct) const;
|
2019-01-08 21:42:28 +01:00
|
|
|
|
|
|
|
virtual PointD ll2xy(const Coordinates &c) const;
|
|
|
|
virtual Coordinates xy2ll(const PointD &p) const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
double _originLatitude;
|
|
|
|
double _originLongitude;
|
|
|
|
double _falseEasting;
|
|
|
|
double _falseNorthing;
|
|
|
|
|
|
|
|
double _a_mc;
|
|
|
|
double _es;
|
|
|
|
double _es_OVER_2;
|
|
|
|
double _two_a;
|
|
|
|
double _mc;
|
|
|
|
double _tc;
|
|
|
|
double _e4;
|
|
|
|
int _southernHemisphere;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // POLARSTEREOGRAPHIC_H
|