RasterProcessTool/RasterMainWidgetGUI/RasterMainWidget/crs.h

56 lines
1.1 KiB
C
Raw Permalink Normal View History

2025-02-07 09:16:22 +00:00
#pragma once
#include <QRectF>
#include <QString>
#include <pointxy.h>
2025-02-07 09:16:22 +00:00
namespace LAMPMainWidget
{
class CRS
{
public:
CRS() = default;
virtual ~CRS() = default;
public:
/**
* wgs84
* @param point
* @return wgs84
*/
virtual PointXY forward(const PointXY& point) const;
/**
* wgs84
* @param point
* @return wgs84
*/
virtual PointXY inverse(const PointXY& point) const;
/**
* proj4
* @return
*/
virtual QString proj4Cvt() const = 0;
/**
* wkt
* @return wkt
*/
virtual QString wktDef() const = 0;
/**
* proj4
* @return proj4
*/
virtual QString proj4Def() const = 0;
/**
*
* @return
*/
virtual QRectF extent() const = 0;
};
}