-
Notifications
You must be signed in to change notification settings - Fork 2
/
transformation.h
55 lines (42 loc) · 1.57 KB
/
transformation.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
/************************************************************************/
/* */
/* P R O J E K T A V A L O N */
/* */
/* transformation.h The Class to store Transformation-Details */
/* */
/* Last Change 14.April 2009; Gion-Andri Büsser */
/* */
/************************************************************************/
#ifndef TRANSFORMATION_H
#define TRANSFORMATION_H
#include <DDXStore.h>
#include <DDXVariable.h>
DDX_STORE_TYPE(LakeTransformation,
struct {
double longitude_start; //in degrees
double latitude_start; //in degrees
double x_start_transf; //in meters
double y_start_transf; //in meters
//endpoint
double longitude_end; //in degrees
double latitude_end; //in degrees
double x_end_transf; //in meters
double y_end_transf; //in meters
// offsets so we dont have to start at 0/0 ...
int x_iter_offset;
int y_iter_offset;
//length in map-coordinates:
int x_length;
int y_length;
//start and end nodes in map-coordinates:
int x_start;
int y_start;
int x_end;
int y_end;
// real position offset, to afterwards calculate the real waypoint
// positions
int x_offset;
int y_offset;
}
);
#endif //coordination transformation .h