-
Notifications
You must be signed in to change notification settings - Fork 2
/
DatumsTransfTest.h
88 lines (71 loc) · 1.67 KB
/
DatumsTransfTest.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#ifndef __DATUMSTRANSFTEST_H__
#define __DATUMSTRANSFTEST_H__
#include "DatumsTransformations.h"
#include "Geometrie.h"
class TransversMerkator : public Projection
{
public:
TransversMerkator();
TransversMerkator(_ReferenceSystemType refSysType);
~TransversMerkator();
protected:
virtual GeoPosition DecToGeo(DecartPoint p, ProjectionParams params);
virtual DecartPoint GeoToDec(GeoPosition p, ProjectionParams params);
};
class UTMDatum : public Datum
{
public:
double R;
double H;
double h;
int Zone;
UTMDatum();
UTMDatum(double _R, double _H, double _h, int _Zone);
~UTMDatum();
protected:
virtual void CreateProj();
virtual void PackProj();
virtual void UnpackProj();
};
class GKDatum : public Datum
{
public:
double R;
double H;
double h;
int Zone;
GKDatum();
GKDatum(double _R, double _H, double _h, int _Zone);
~GKDatum();
protected:
virtual void CreateProj();
virtual void PackProj();
virtual void UnpackProj();
};
class WGSDatum : public Datum
{
public:
GeoPosition p;
WGSDatum();
WGSDatum(double B, double L, double h);
~WGSDatum();
protected:
virtual void CreateProj();
virtual void PackProj();
virtual void UnpackProj();
};
class SoldnerDatum : public Datum
{
public:
double R;
double H;
double h;
SoldnerDatum();
SoldnerDatum(double _R, double _H, double _h);
~SoldnerDatum();
protected:
virtual void CreateProj();
virtual void PackProj();
virtual void UnpackProj();
};
#endif //__DATUMSTRANSFTEST_H__