mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-21 06:14:23 +02:00
Added support for Lambert Conformal Conic projection
This commit is contained in:
26
src/lambertconic.h
Normal file
26
src/lambertconic.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef LAMBERTCONIC_H
|
||||
#define LAMBERTCONIC_H
|
||||
|
||||
#include "projection.h"
|
||||
|
||||
class LambertConic : public Projection
|
||||
{
|
||||
public:
|
||||
LambertConic(double standardParallel1, double standardParallel2,
|
||||
double centralParallel, double centralMeridian, double scale,
|
||||
double falseEasting, double falseNorthing);
|
||||
|
||||
virtual QPointF ll2xy(const Coordinates &c) const;
|
||||
virtual Coordinates xy2ll(const QPointF &p) const;
|
||||
|
||||
private:
|
||||
double _cm;
|
||||
double _fe;
|
||||
double _fn;
|
||||
|
||||
double _q0;
|
||||
double _R0;
|
||||
double _n;
|
||||
};
|
||||
|
||||
#endif // LAMBERTCONIC_H
|
Reference in New Issue
Block a user