-
Notifications
You must be signed in to change notification settings - Fork 0
/
VertexArray.java
176 lines (120 loc) · 4.4 KB
/
VertexArray.java
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
package group2;
/**
* Contributed by: Elliot, Roy, Lina, Iga, Mihai
* Version: 1.5
* 12.12.2018
* VertexArray object is an array of Vertex objects containing all the vertices
* the user can use
*/
public class VertexArray
{
static public Vertex[] vertexArray = new Vertex[51];
/**
* Creates an array with the Vertex objects.
* @param vertices
*/
public VertexArray(int vertices){
Vertex vertex0 = new Vertex();
vertexArray[0] = vertex0;
Vertex vertex1 = new Vertex();
vertexArray[1] = vertex1;
Vertex vertex2 = new Vertex();
vertexArray[2] = vertex2;
Vertex vertex3 = new Vertex();
vertexArray[3] = vertex3;
Vertex vertex4 = new Vertex();
vertexArray[4] = vertex4;
Vertex vertex5 = new Vertex();
vertexArray[5] = vertex5;
Vertex vertex6 = new Vertex();
vertexArray[6] = vertex6;
Vertex vertex7 = new Vertex();
vertexArray[7] = vertex7;
Vertex vertex8 = new Vertex();
vertexArray[8] = vertex8;
Vertex vertex9 = new Vertex();
vertexArray[9] = vertex9;
Vertex vertex10 = new Vertex();
vertexArray[10] = vertex10;
Vertex vertex11 = new Vertex();
vertexArray[11] = vertex11;
Vertex vertex12 = new Vertex();
vertexArray[12] = vertex12;
Vertex vertex13 = new Vertex();
vertexArray[13] = vertex13;
Vertex vertex14 = new Vertex();
vertexArray[14] = vertex14;
Vertex vertex15 = new Vertex();
vertexArray[15] = vertex15;
Vertex vertex16 = new Vertex();
vertexArray[16] = vertex16;
Vertex vertex17 = new Vertex();
vertexArray[17] = vertex17;
Vertex vertex18 = new Vertex();
vertexArray[18] = vertex18;
Vertex vertex19 = new Vertex();
vertexArray[19] = vertex19;
Vertex vertex20 = new Vertex();
vertexArray[20] = vertex20;
Vertex vertex21 = new Vertex();
vertexArray[21] = vertex21;
Vertex vertex22 = new Vertex();
vertexArray[22] = vertex22;
Vertex vertex23 = new Vertex();
vertexArray[23] = vertex23;
Vertex vertex24 = new Vertex();
vertexArray[24] = vertex24;
Vertex vertex25 = new Vertex();
vertexArray[25] = vertex25;
Vertex vertex26 = new Vertex();
vertexArray[26] = vertex26;
Vertex vertex27 = new Vertex();
vertexArray[27] = vertex27;
Vertex vertex28 = new Vertex();
vertexArray[28] = vertex28;
Vertex vertex29 = new Vertex();
vertexArray[29] = vertex29;
Vertex vertex30 = new Vertex();
vertexArray[30] = vertex30;
Vertex vertex31 = new Vertex();
vertexArray[31] = vertex31;
Vertex vertex32 = new Vertex();
vertexArray[32] = vertex32;
Vertex vertex33 = new Vertex();
vertexArray[33] = vertex33;
Vertex vertex34 = new Vertex();
vertexArray[34] = vertex34;
Vertex vertex35 = new Vertex();
vertexArray[35] = vertex35;
Vertex vertex36 = new Vertex();
vertexArray[36] = vertex36;
Vertex vertex37 = new Vertex();
vertexArray[37] = vertex37;
Vertex vertex38 = new Vertex();
vertexArray[38] = vertex38;
Vertex vertex39 = new Vertex();
vertexArray[39] = vertex39;
Vertex vertex40 = new Vertex();
vertexArray[40] = vertex40;
Vertex vertex41 = new Vertex();
vertexArray[41] = vertex41;
Vertex vertex42 = new Vertex();
vertexArray[42] = vertex42;
Vertex vertex43 = new Vertex();
vertexArray[43] = vertex43;
Vertex vertex44 = new Vertex();
vertexArray[44] = vertex44;
Vertex vertex45 = new Vertex();
vertexArray[45] = vertex45;
Vertex vertex46 = new Vertex();
vertexArray[46] = vertex46;
Vertex vertex47 = new Vertex();
vertexArray[47] = vertex47;
Vertex vertex48 = new Vertex();
vertexArray[48] = vertex48;
Vertex vertex49 = new Vertex();
vertexArray[49] = vertex49;
Vertex vertex50 = new Vertex();
vertexArray[50] = vertex50;
}
}