mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-02-20 09:40:49 +01:00
16 lines
281 B
C
16 lines
281 B
C
|
#ifndef PROJECTION_H
|
||
|
#define PROJECTION_H
|
||
|
|
||
|
#include <QPointF>
|
||
|
#include "coordinates.h"
|
||
|
|
||
|
class Projection {
|
||
|
public:
|
||
|
virtual ~Projection() {}
|
||
|
|
||
|
virtual QPointF ll2xy(const Coordinates &c) const = 0;
|
||
|
virtual Coordinates xy2ll(const QPointF &p) const = 0;
|
||
|
};
|
||
|
|
||
|
#endif // PROJECTION_H
|