-
Notifications
You must be signed in to change notification settings - Fork 0
/
defclassBoundary.h
73 lines (41 loc) · 978 Bytes
/
defclassBoundary.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
#pragma once
class Boundary
{
public:
ALLEGRO_COLOR col;
volatile double tsig;
double l;
double xmin, xmax, ymin, ymax;
double vx0, vy0, vx, vy;
double dx, dy;
double x0, y0;
// Math coordinates
double x, y, x1, y1;
// Work Area coordinates
double xx, yy, xx1, yy1;
public:
Boundary init();
// Get time-signature: (-,0,+)
void gettsig();
void setdefaults();
void setup();
void computevxy();
void computeTop();
void computeTopLeft();
void computeTopRight();
void computeRight();
void computeRightTop();
void computeRightBottom();
void computeBottom();
void computeBottomLeft();
void computeBottomRight();
void computeLeft();
void computeLeftBottom();
void computeLeftTop();
void computexy();
void updatexy();
void computexxyy();
void draw();
};
Boundary Armadillo;
Boundary* _Armadillo = &Armadillo;