1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-07 07:13:21 +02:00
GPXSee/src/map/obliquestereographic.h

30 lines
664 B
C
Raw Normal View History

#ifndef OBLIQUESTEREOGRAPHIC_H
#define OBLIQUESTEREOGRAPHIC_H
#include "ct.h"
class Ellipsoid;
class ObliqueStereographic : public CT
{
public:
ObliqueStereographic(const Ellipsoid *ellipsoid, double latitudeOrigin,
double longitudeOrigin, double scale, double falseEasting,
double falseNorthing);
virtual CT *clone() const {return new ObliqueStereographic(*this);}
virtual PointD ll2xy(const Coordinates &c) const;
virtual Coordinates xy2ll(const PointD &p) const;
private:
double _e, _es;
double _chi0, _sinChi0, _cosChi0;
double _lambda0;
double _n;
double _c;
double _FE, _FN;
double _twoRk0, _g, _h;
};
#endif // OBLIQUESTEREOGRAPHIC_H