MSUProj-Dev  0.6-20
msucore.h
Go to the documentation of this file.
1 #ifndef MSUCORE_H
2 #define MSUCORE_H
3 
4 
5 #include <gdal_priv.h>
6 #if _MSC_VER && !__INTEL_COMPILER
7 # include <msuproj/msuproj_export.h>
8 #else
9 # define MSUPROJ_EXPORT
10 #endif
11 
12 
13 namespace msumr {
14 
15 static const unsigned short lineWidth = 1568;
16 
20 enum RETURN_CODE
21 {
22  SUCCESS,
23  ERROR_SRC,
24  ERROR_DST,
25  ERROR_GCP,
26  ERROR_STAT
27 };
28 
32 struct GCP
33 {
34  int x;
35  int y;
36  double lon;
37  double lat;
38 };
39 
47 const std::string comma2dot(std::string str);
48 
49 }
50 
51 #endif // MSUCORE_H
52 
Definition: msucore.h:13
double lat
A longitude.
Definition: msucore.h:37
double lon
A latitude.
Definition: msucore.h:36
int x
A column of a source data matrix.
Definition: msucore.h:34
int y
A line of a source data matrix.
Definition: msucore.h:35
The Ground control point (GCP) structure.
Definition: msucore.h:32