-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUtils.h
More file actions
33 lines (25 loc) · 712 Bytes
/
Utils.h
File metadata and controls
33 lines (25 loc) · 712 Bytes
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
//Contains global definitions for project
#ifndef VECTORFIELDHISTOGRAMTESTING_UTILS_H
#define VECTORFIELDHISTOGRAMTESTING_UTILS_H
//Continuous point for representing exact positions in meters
struct contPoint {
double x;
double y;
};
//Discrete Point for representing positions discretized into nodes on histogram grid
struct discretePoint {
int x;
int y;
};
//Region for representing the active region of the histogram grid
//Stores two points corresponding to two corners of a rectangular region
struct region {
discretePoint min;
discretePoint max;
};
struct valley {
int lowerBound;
int upperBound;
bool isWide;
};
#endif //VECTORFIELDHISTOGRAMTESTING_UTILS_H