forked from i-RIC/iriclib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
iriclib_riversurvey.h
67 lines (53 loc) · 1.26 KB
/
iriclib_riversurvey.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
#ifndef IRICLIB_RIVERSURVEY_H
#define IRICLIB_RIVERSURVEY_H
#include "iriclib_global.h"
#include <string>
#include <vector>
namespace iRICLib {
class IRICLIBDLL Altitude {
public:
double position;
double height;
int active;
};
class IRICLIBDLL RiverPathPoint {
public:
RiverPathPoint();
~RiverPathPoint();
double positionX;
double positionY;
double directionX;
double directionY;
std::string name;
double nameReal;
double leftShift;
std::vector<Altitude> altitudes;
int fixedPointLSet;
double directionLX;
double directionLY;
int fixedPointLIndex;
int fixedPointRSet;
double directionRX;
double directionRY;
int fixedPointRIndex;
int gridSkip;
std::vector<double> centerToLeftCtrlPoints;
std::vector<double> centerToRightCtrlPoints;
std::vector<double> centerLineCtrlPoints;
std::vector<double> leftBankCtrlPoints;
std::vector<double> rightBankCtrlPoints;
int wseSpecified;
double waterSurfaceElevation;
RiverPathPoint* nextPoint;
};
class IRICLIBDLL RiverSurvey {
public:
RiverSurvey();
~RiverSurvey();
RiverPathPoint* firstPoint;
std::vector<RiverPathPoint*> points;
int load(const char* filename);
int save(const char* filename);
};
}
#endif // IRICLIB_RIVERSURVEY_H