forked from pnlbwh/ukftractography
-
Notifications
You must be signed in to change notification settings - Fork 0
/
icosahedron3.cxx
660 lines (659 loc) · 35.4 KB
/
icosahedron3.cxx
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
#include "icosahedron3.h"
void
Icosahedron3(MatrixType &mat)
{
double vertices[][3] =
{
{ 0, 0, 1 },
{ -0.111605708293, -0.0810862934433, 0.990438881957 },
{ -0.111605708293, 0.0810862934433, 0.990438881957 },
{ 0.0426295872296, -0.131200378813, 0.990438881957 },
{ 0.0426295872296, 0.131200378813, 0.990438881957 },
{ 0.137952242128, 0, 0.990438881957 },
{ -0.223985496129, 4.21810425628e-17, 0.974592477666 },
{ -0.0692153247974, -0.213022865649, 0.974592477666 },
{ -0.0692153247974, 0.213022865649, 0.974592477666 },
{ 0.181208072862, -0.131655371352, 0.974592477666 },
{ 0.181208072862, 0.131655371352, 0.974592477666 },
{ -0.221077265884, 0.16062203564, 0.961938357784 },
{ 0.273266528913, 0, 0.961938357784 },
{ -0.221077265884, -0.16062203564, 0.961938357784 },
{ 0.0844440014279, -0.259891913008, 0.961938357784 },
{ 0.0844440014279, 0.259891913008, 0.961938357784 },
{ -0.337602233077, -0.0811418516199, 0.937785013816 },
{ -0.337602233077, 0.0811418516199, 0.937785013816 },
{ -0.181495314087, -0.296004592578, 0.937785013816 },
{ -0.181495314087, 0.296004592578, 0.937785013816 },
{ -0.0271543406322, -0.346153014789, 0.937785013816 },
{ -0.0271543406322, 0.346153014789, 0.937785013816 },
{ 0.225431960172, -0.264082750659, 0.937785013816 },
{ 0.225431960172, 0.264082750659, 0.937785013816 },
{ 0.320819927624, -0.132792476828, 0.937785013816 },
{ 0.320819927624, 0.132792476828, 0.937785013816 },
{ -0.326321331803, -0.237086325351, 0.915043421233 },
{ -0.326321331803, 0.237086325351, 0.915043421233 },
{ 0.124643657495, -0.383613732685, 0.915043421233 },
{ 0.124643657495, 0.383613732685, 0.915043421233 },
{ 0.403355348617, 0, 0.915043421233 },
{ -0.4472135955, 5.83678785436e-17, 0.894427191 },
{ -0.138196601125, 0.425325404176, 0.894427191 },
{ 0.361803398875, -0.26286555606, 0.894427191 },
{ 0.361803398875, 0.26286555606, 0.894427191 },
{ -0.138196601125, -0.425325404176, 0.894427191 },
{ -0.441707654031, -0.15643446504, 0.883415308062 },
{ -0.441707654031, 0.15643446504, 0.883415308062 },
{ -0.285273188991, -0.37174803446, 0.883415308062 },
{ -0.285273188991, 0.37174803446, 0.883415308062 },
{ 0.0122828457086, -0.468429850867, 0.883415308062 },
{ 0.0122828457086, 0.468429850867, 0.883415308062 },
{ 0.265399127156, -0.386187385588, 0.883415308062 },
{ 0.265399127156, 0.386187385588, 0.883415308062 },
{ 0.449298870157, -0.133071104141, 0.883415308062 },
{ 0.449298870157, 0.133071104141, 0.883415308062 },
{ -0.425325404176, -0.309016994375, 0.850650808352 },
{ -0.425325404176, 0.309016994375, 0.850650808352 },
{ 0.162459848116, -0.5, 0.850650808352 },
{ 0.162459848116, 0.5, 0.850650808352 },
{ 0.525731112119, 0, 0.850650808352 },
{ -0.253365926986, 0.51337544123, 0.819909362908 },
{ 0.409954681454, -0.399607051702, 0.819909362908 },
{ 0.506731853971, -0.266404701135, 0.819909362908 },
{ -0.566543435922, -0.082323580032, 0.819909362908 },
{ -0.566543435922, 0.082323580032, 0.819909362908 },
{ -0.253365926986, -0.51337544123, 0.819909362908 },
{ -0.0967771725174, -0.564254211766, 0.819909362908 },
{ -0.0967771725174, 0.564254211766, 0.819909362908 },
{ 0.409954681454, 0.399607051702, 0.819909362908 },
{ 0.506731853971, 0.266404701135, 0.819909362908 },
{ -0.554904696336, -0.23867693032, 0.796940462592 },
{ -0.554904696336, 0.23867693032, 0.796940462592 },
{ -0.398470231296, -0.45399049974, 0.796940462592 },
{ -0.398470231296, 0.45399049974, 0.796940462592 },
{ 0.0555202684433, 0.601500955008, 0.796940462592 },
{ 0.30863654989, 0.519258489728, 0.796940462592 },
{ 0.589218109299, -0.133071104141, 0.796940462592 },
{ 0.0555202684433, -0.601500955008, 0.796940462592 },
{ 0.30863654989, -0.519258489728, 0.796940462592 },
{ 0.589218109299, 0.133071104141, 0.796940462592 },
{ -0.516196303756, -0.375038567478, 0.769991849887 },
{ -0.516196303756, 0.375038567478, 0.769991849887 },
{ 0.197169443168, -0.606825149272, 0.769991849887 },
{ 0.197169443168, 0.606825149272, 0.769991849887 },
{ 0.638053721177, 0, 0.769991849887 },
{ -0.210085859702, -0.646577791798, 0.73334922834 },
{ -0.210085859702, 0.646577791798, 0.73334922834 },
{ 0.550011921255, -0.399607051702, 0.73334922834 },
{ -0.679852123107, 9.84524400283e-17, 0.73334922834 },
{ 0.550011921255, 0.399607051702, 0.73334922834 },
{ -0.67082039325, 0.162459848116, 0.72360679775 },
{ -0.361803398875, -0.587785252292, 0.72360679775 },
{ -0.361803398875, 0.587785252292, 0.72360679775 },
{ -0.0527864045, -0.688190960236, 0.72360679775 },
{ -0.0527864045, 0.688190960236, 0.72360679775 },
{ 0.4472135955, -0.525731112119, 0.72360679775 },
{ 0.4472135955, 0.525731112119, 0.72360679775 },
{ 0.638196601125, -0.26286555606, 0.72360679775 },
{ -0.67082039325, -0.162459848116, 0.72360679775 },
{ 0.638196601125, 0.26286555606, 0.72360679775 },
{ -0.640567330079, -0.301258879093, 0.706340274516 },
{ -0.640567330079, 0.301258879093, 0.706340274516 },
{ -0.484460411089, -0.516121620051, 0.706340274516 },
{ -0.484460411089, 0.516121620051, 0.706340274516 },
{ 0.0885680290177, -0.702309846743, 0.706340274516 },
{ 0.0885680290177, 0.702309846743, 0.706340274516 },
{ 0.341154329822, -0.620239582613, 0.706340274516 },
{ 0.341154329822, 0.620239582613, 0.706340274516 },
{ 0.695305382328, -0.132792476828, 0.706340274516 },
{ 0.695305382328, 0.132792476828, 0.706340274516 },
{ -0.59719637575, -0.433888564553, 0.674608925484 },
{ -0.59719637575, 0.433888564553, 0.674608925484 },
{ 0.228108717578, -0.702046444776, 0.674608925484 },
{ 0.228108717578, 0.702046444776, 0.674608925484 },
{ 0.738175316343, 0, 0.674608925484 },
{ -0.316227766017, -0.707106781187, 0.632455532034 },
{ 0.671460574578, -0.386187385588, 0.632455532034 },
{ -0.770218265756, -0.0822424652794, 0.632455532034 },
{ -0.770218265756, 0.0822424652794, 0.632455532034 },
{ -0.316227766017, 0.707106781187, 0.632455532034 },
{ -0.159793300977, -0.757935420048, 0.632455532034 },
{ -0.159793300977, 0.757935420048, 0.632455532034 },
{ 0.574778758172, -0.519258489728, 0.632455532034 },
{ 0.574778758172, 0.519258489728, 0.632455532034 },
{ 0.671460574578, 0.386187385588, 0.632455532034 },
{ 0.479201093165, -0.620239582613, 0.621022682733 },
{ -0.752249507642, -0.220117027473, 0.621022682733 },
{ -0.752249507642, 0.220117027473, 0.621022682733 },
{ -0.441801615198, -0.647411893882, 0.621022682733 },
{ -0.441801615198, 0.647411893882, 0.621022682733 },
{ -0.0231141485456, -0.783451698363, 0.621022682733 },
{ -0.0231141485456, 0.783451698363, 0.621022682733 },
{ 0.479201093165, 0.620239582613, 0.621022682733 },
{ 0.73796417822, -0.264082750659, 0.621022682733 },
{ 0.73796417822, 0.264082750659, 0.621022682733 },
{ -0.717045130876, -0.358228793487, 0.597928433681 },
{ -0.717045130876, 0.358228793487, 0.597928433681 },
{ -0.562274959545, 0.571251659136, 0.597928433681 },
{ 0.369540094855, -0.711281734962, 0.597928433681 },
{ -0.562274959545, -0.571251659136, 0.597928433681 },
{ 0.119116697195, -0.792649229259, 0.597928433681 },
{ 0.119116697195, 0.792649229259, 0.597928433681 },
{ 0.369540094855, 0.711281734962, 0.597928433681 },
{ 0.790663298371, -0.131655371352, 0.597928433681 },
{ 0.790663298371, 0.131655371352, 0.597928433681 },
{ -0.666776717656, -0.484441642061, 0.566325969941 },
{ -0.666776717656, 0.484441642061, 0.566325969941 },
{ 0.254686043237, 0.78384304242, 0.566325969941 },
{ 0.254686043237, -0.78384304242, 0.566325969941 },
{ 0.824181348837, 0, 0.566325969941 },
{ 0.688190960236, -0.5, 0.525731112119 },
{ -0.850650808352, 1.30514544126e-16, 0.525731112119 },
{ -0.26286555606, -0.809016994375, 0.525731112119 },
{ -0.26286555606, 0.809016994375, 0.525731112119 },
{ 0.688190960236, 0.5, 0.525731112119 },
{ -0.84251763556, -0.137952242128, 0.520704534897 },
{ -0.84251763556, 0.137952242128, 0.520704534897 },
{ -0.391552646262, -0.758652300163, 0.520704534897 },
{ -0.391552646262, 0.758652300163, 0.520704534897 },
{ -0.129151888636, -0.843911474622, 0.520704534897 },
{ -0.129151888636, 0.843911474622, 0.520704534897 },
{ 0.600524791785, -0.606825149272, 0.520704534897 },
{ 0.600524791785, 0.606825149272, 0.520704534897 },
{ 0.762697378672, -0.383613732685, 0.520704534897 },
{ 0.762697378672, 0.383613732685, 0.520704534897 },
{ -0.818273641634, -0.273266528913, 0.505720922628 },
{ -0.818273641634, 0.273266528913, 0.505720922628 },
{ -0.512752374322, -0.69378047756, 0.505720922628 },
{ -0.512752374322, 0.69378047756, 0.505720922628 },
{ 0.00703145169386, -0.862668480416, 0.505720922628 },
{ 0.00703145169386, 0.862668480416, 0.505720922628 },
{ 0.501375246491, -0.702046444776, 0.505720922628 },
{ 0.501375246491, 0.702046444776, 0.505720922628 },
{ 0.822619317771, -0.259891913008, 0.505720922628 },
{ 0.822619317771, 0.259891913008, 0.505720922628 },
{ -0.778382425949, 0.403355348617, 0.481066795482 },
{ -0.624147130426, -0.615642020874, 0.481066795482 },
{ -0.624147130426, 0.615642020874, 0.481066795482 },
{ 0.143080334944, -0.864929335863, 0.481066795482 },
{ 0.143080334944, 0.864929335863, 0.481066795482 },
{ 0.392638285365, -0.78384304242, 0.481066795482 },
{ 0.392638285365, 0.78384304242, 0.481066795482 },
{ -0.778382425949, -0.403355348617, 0.481066795482 },
{ 0.866810936066, -0.131200378813, 0.481066795482 },
{ 0.866810936066, 0.131200378813, 0.481066795482 },
{ 0.894427191, 0, 0.4472135955 },
{ 0.27639320225, 0.850650808352, 0.4472135955 },
{ -0.72360679775, 0.525731112119, 0.4472135955 },
{ -0.72360679775, -0.525731112119, 0.4472135955 },
{ 0.27639320225, -0.850650808352, 0.4472135955 },
{ 0.687975800477, -0.601500955008, 0.406061447423 },
{ 0.784657616884, -0.468429850867, 0.406061447423 },
{ -0.359465188752, 0.840177885327, 0.406061447423 },
{ -0.910137504898, -0.0822424652794, 0.406061447423 },
{ -0.910137504898, 0.0822424652794, 0.406061447423 },
{ -0.359465188752, -0.840177885327, 0.406061447423 },
{ -0.203030723711, -0.891006524188, 0.406061447423 },
{ -0.203030723711, 0.891006524188, 0.406061447423 },
{ 0.687975800477, 0.601500955008, 0.406061447423 },
{ 0.784657616884, 0.468429850867, 0.406061447423 },
{ 0.850924205977, -0.346153014789, 0.395102627219 },
{ -0.89187578069, 0.220117027473, 0.395102627219 },
{ -0.484948506431, 0.78020437071, 0.395102627219 },
{ 0.592161120922, -0.702309846743, 0.395102627219 },
{ -0.484948506431, -0.78020437071, 0.395102627219 },
{ -0.0662610397785, -0.916244175191, 0.395102627219 },
{ -0.0662610397785, 0.916244175191, 0.395102627219 },
{ 0.592161120922, 0.702309846743, 0.395102627219 },
{ 0.850924205977, 0.346153014789, 0.395102627219 },
{ -0.89187578069, -0.220117027473, 0.395102627219 },
{ 0.0763392739283, -0.924304600611, 0.373942937552 },
{ -0.855475780471, -0.358228793487, 0.373942937552 },
{ -0.855475780471, 0.358228793487, 0.373942937552 },
{ -0.605052382812, -0.702907030488, 0.373942937552 },
{ -0.605052382812, 0.702907030488, 0.373942937552 },
{ 0.0763392739283, 0.924304600611, 0.373942937552 },
{ 0.481532842919, -0.792649229259, 0.373942937552 },
{ 0.481532842919, 0.792649229259, 0.373942937552 },
{ 0.902656046435, -0.213022865649, 0.373942937552 },
{ 0.902656046435, 0.213022865649, 0.373942937552 },
{ -0.804728959783, -0.484441642061, 0.343114553354 },
{ -0.804728959783, 0.484441642061, 0.343114553354 },
{ -0.709406304885, -0.615642020874, 0.343114553354 },
{ 0.366291751531, 0.864929335863, 0.343114553354 },
{ 0.93578705713, -0.0810862934433, 0.343114553354 },
{ 0.93578705713, 0.0810862934433, 0.343114553354 },
{ -0.709406304885, 0.615642020874, 0.343114553354 },
{ 0.212056456008, -0.915043421233, 0.343114553354 },
{ 0.212056456008, 0.915043421233, 0.343114553354 },
{ 0.366291751531, -0.864929335863, 0.343114553354 },
{ 0.776629295624, -0.564254211766, 0.280114479602 },
{ -0.29664599427, 0.912982492932, 0.280114479602 },
{ -0.959966602709, 1.40646342898e-16, 0.280114479602 },
{ -0.29664599427, -0.912982492932, 0.280114479602 },
{ 0.776629295624, 0.564254211766, 0.280114479602 },
{ -0.4472135955, 0.850650808352, 0.27639320225 },
{ 0.67082039325, -0.688190960236, 0.27639320225 },
{ 0.861803398875, -0.425325404176, 0.27639320225 },
{ -0.9472135955, -0.162459848116, 0.27639320225 },
{ -0.9472135955, 0.162459848116, 0.27639320225 },
{ -0.4472135955, -0.850650808352, 0.27639320225 },
{ -0.138196601125, -0.951056516295, 0.27639320225 },
{ -0.138196601125, 0.951056516295, 0.27639320225 },
{ 0.67082039325, 0.688190960236, 0.27639320225 },
{ 0.861803398875, 0.425325404176, 0.27639320225 },
{ -0.91824036647, -0.301258879093, 0.257055863876 },
{ -0.91824036647, 0.301258879093, 0.257055863876 },
{ -0.570266098214, -0.78020437071, 0.257055863876 },
{ 0.565796535142, -0.783451698363, 0.257055863876 },
{ 0.565796535142, 0.783451698363, 0.257055863876 },
{ 0.919947587648, -0.296004592578, 0.257055863876 },
{ 0.919947587648, 0.296004592578, 0.257055863876 },
{ -0.570266098214, 0.78020437071, 0.257055863876 },
{ 0.00276234189317, -0.966392597402, 0.257055863876 },
{ 0.00276234189317, 0.966392597402, 0.257055863876 },
{ -0.786260455674, -0.571251659136, 0.235512287957 },
{ -0.786260455674, 0.571251659136, 0.235512287957 },
{ 0.300324770057, -0.924304600611, 0.235512287957 },
{ 0.300324770057, 0.924304600611, 0.235512287957 },
{ 0.971871371232, -2.81206950418e-17, 0.235512287957 },
{ 0.14366471615, -0.961938357784, 0.232454393715 },
{ -0.870462904662, -0.433888564553, 0.232454393715 },
{ -0.870462904662, 0.433888564553, 0.232454393715 },
{ -0.681640377177, -0.69378047756, 0.232454393715 },
{ -0.681640377177, 0.69378047756, 0.232454393715 },
{ 0.14366471615, 0.961938357784, 0.232454393715 },
{ 0.449185983462, 0.862668480416, 0.232454393715 },
{ 0.959252582227, -0.16062203564, 0.232454393715 },
{ 0.959252582227, 0.16062203564, 0.232454393715 },
{ 0.449185983462, -0.862668480416, 0.232454393715 },
{ -0.986715155326, -0.082323580032, 0.140057239801 },
{ -0.986715155326, 0.082323580032, 0.140057239801 },
{ -0.383206128837, 0.912982492932, 0.140057239801 },
{ 0.749880743007, -0.646577791798, 0.140057239801 },
{ 0.846657915525, -0.51337544123, 0.140057239801 },
{ -0.383206128837, -0.912982492932, 0.140057239801 },
{ -0.226617374369, -0.963861263468, 0.140057239801 },
{ -0.226617374369, 0.963861263468, 0.140057239801 },
{ 0.749880743007, 0.646577791798, 0.140057239801 },
{ 0.846657915525, 0.51337544123, 0.140057239801 },
{ 0.917728721024, -0.37174803446, 0.139919239142 },
{ -0.52395011931, 0.840177885327, 0.139919239142 },
{ 0.637147161616, -0.757935420048, 0.139919239142 },
{ -0.960966143759, -0.23867693032, 0.139919239142 },
{ -0.960966143759, 0.23867693032, 0.139919239142 },
{ -0.52395011931, -0.840177885327, 0.139919239142 },
{ -0.0699596195708, -0.987688340595, 0.139919239142 },
{ -0.0699596195708, 0.987688340595, 0.139919239142 },
{ 0.637147161616, 0.757935420048, 0.139919239142 },
{ 0.917728721024, 0.37174803446, 0.139919239142 },
{ -0.753039262494, 0.647411893882, 0.117429590828 },
{ -0.848427229946, -0.516121620051, 0.117429590828 },
{ -0.848427229946, 0.516121620051, 0.117429590828 },
{ -0.753039262494, -0.647411893882, 0.117429590828 },
{ 0.228682397407, -0.966392597402, 0.117429590828 },
{ 0.383023370861, 0.916244175191, 0.117429590828 },
{ 0.989760724172, -0.0811418516199, 0.117429590828 },
{ 0.989760724172, 0.0811418516199, 0.117429590828 },
{ 0.228682397407, 0.966392597402, 0.117429590828 },
{ 0.383023370861, -0.916244175191, 0.117429590828 },
{ 0.0725257856731, -0.990438881957, 0.11734918628 },
{ -0.919551652374, -0.375038567478, 0.11734918628 },
{ -0.919551652374, 0.375038567478, 0.11734918628 },
{ -0.640839961251, -0.758652300163, 0.11734918628 },
{ -0.640839961251, 0.758652300163, 0.11734918628 },
{ 0.0725257856731, 0.990438881957, 0.11734918628 },
{ 0.523490774971, 0.843911474622, 0.11734918628 },
{ 0.964375052981, -0.237086325351, 0.11734918628 },
{ 0.964375052981, 0.237086325351, 0.11734918628 },
{ 0.523490774971, -0.843911474622, 0.11734918628 },
{ 6.5257272063e-17, 1, 0 },
{ -0.15643446504, 0.987688340595, 0 },
{ 0.15643446504, 0.987688340595, 0 },
{ -0.309016994375, 0.951056516295, 0 },
{ 0.309016994375, 0.951056516295, 0 },
{ -0.45399049974, 0.891006524188, 0 },
{ 0.45399049974, 0.891006524188, 0 },
{ -0.587785252292, 0.809016994375, 0 },
{ 0.587785252292, 0.809016994375, 0 },
{ -0.707106781187, 0.707106781187, 0 },
{ 0.707106781187, 0.707106781187, 0 },
{ -0.809016994375, 0.587785252292, 0 },
{ 0.809016994375, 0.587785252292, 0 },
{ -0.891006524188, 0.45399049974, 0 },
{ 0.891006524188, 0.45399049974, 0 },
{ -0.951056516295, 0.309016994375, 0 },
{ 0.951056516295, 0.309016994375, 0 },
{ -0.987688340595, 0.15643446504, 0 },
{ 0.987688340595, 0.15643446504, 0 },
{ -1, 1.45919696359e-16, 0 },
{ 1, -5.83678785436e-17, 0 },
{ -0.987688340595, -0.15643446504, 0 },
{ 0.987688340595, -0.15643446504, 0 },
{ -0.951056516295, -0.309016994375, 0 },
{ 0.951056516295, -0.309016994375, 0 },
{ -0.891006524188, -0.45399049974, 0 },
{ 0.891006524188, -0.45399049974, 0 },
{ -0.809016994375, -0.587785252292, 0 },
{ 0.809016994375, -0.587785252292, 0 },
{ -0.707106781187, -0.707106781187, 0 },
{ 0.707106781187, -0.707106781187, 0 },
{ -0.587785252292, -0.809016994375, 0 },
{ 0.587785252292, -0.809016994375, 0 },
{ -0.45399049974, -0.891006524188, 0 },
{ 0.45399049974, -0.891006524188, 0 },
{ -0.309016994375, -0.951056516295, 0 },
{ 0.309016994375, -0.951056516295, 0 },
{ -0.15643446504, -0.987688340595, 0 },
{ 0.15643446504, -0.987688340595, 0 },
{ -1.63143180158e-16, -1, 0 },
{ 0.640839961251, -0.758652300163, -0.11734918628 },
{ -0.964375052981, -0.237086325351, -0.11734918628 },
{ -0.964375052981, 0.237086325351, -0.11734918628 },
{ -0.523490774971, -0.843911474622, -0.11734918628 },
{ -0.523490774971, 0.843911474622, -0.11734918628 },
{ -0.0725257856731, -0.990438881957, -0.11734918628 },
{ -0.0725257856731, 0.990438881957, -0.11734918628 },
{ 0.640839961251, 0.758652300163, -0.11734918628 },
{ 0.919551652374, -0.375038567478, -0.11734918628 },
{ 0.919551652374, 0.375038567478, -0.11734918628 },
{ -0.228682397407, -0.966392597402, -0.117429590828 },
{ -0.228682397407, 0.966392597402, -0.117429590828 },
{ -0.989760724172, 0.0811418516199, -0.117429590828 },
{ -0.383023370861, -0.916244175191, -0.117429590828 },
{ -0.383023370861, 0.916244175191, -0.117429590828 },
{ 0.753039262494, -0.647411893882, -0.117429590828 },
{ 0.753039262494, 0.647411893882, -0.117429590828 },
{ 0.848427229946, -0.516121620051, -0.117429590828 },
{ 0.848427229946, 0.516121620051, -0.117429590828 },
{ -0.989760724172, -0.0811418516199, -0.117429590828 },
{ -0.917728721024, -0.37174803446, -0.139919239142 },
{ -0.917728721024, 0.37174803446, -0.139919239142 },
{ -0.637147161616, -0.757935420048, -0.139919239142 },
{ -0.637147161616, 0.757935420048, -0.139919239142 },
{ 0.0699596195708, -0.987688340595, -0.139919239142 },
{ 0.0699596195708, 0.987688340595, -0.139919239142 },
{ 0.52395011931, -0.840177885327, -0.139919239142 },
{ 0.52395011931, 0.840177885327, -0.139919239142 },
{ 0.960966143759, -0.23867693032, -0.139919239142 },
{ 0.960966143759, 0.23867693032, -0.139919239142 },
{ -0.846657915525, -0.51337544123, -0.140057239801 },
{ -0.846657915525, 0.51337544123, -0.140057239801 },
{ 0.226617374369, -0.963861263468, -0.140057239801 },
{ 0.226617374369, 0.963861263468, -0.140057239801 },
{ 0.383206128837, -0.912982492932, -0.140057239801 },
{ 0.383206128837, 0.912982492932, -0.140057239801 },
{ -0.749880743007, -0.646577791798, -0.140057239801 },
{ -0.749880743007, 0.646577791798, -0.140057239801 },
{ 0.986715155326, -0.082323580032, -0.140057239801 },
{ 0.986715155326, 0.082323580032, -0.140057239801 },
{ -0.959252582227, -0.16062203564, -0.232454393715 },
{ -0.959252582227, 0.16062203564, -0.232454393715 },
{ -0.449185983462, -0.862668480416, -0.232454393715 },
{ -0.449185983462, 0.862668480416, -0.232454393715 },
{ -0.14366471615, -0.961938357784, -0.232454393715 },
{ -0.14366471615, 0.961938357784, -0.232454393715 },
{ 0.681640377177, -0.69378047756, -0.232454393715 },
{ 0.681640377177, 0.69378047756, -0.232454393715 },
{ 0.870462904662, -0.433888564553, -0.232454393715 },
{ 0.870462904662, 0.433888564553, -0.232454393715 },
{ -0.971871371232, 1.26543127688e-16, -0.235512287957 },
{ -0.300324770057, -0.924304600611, -0.235512287957 },
{ -0.300324770057, 0.924304600611, -0.235512287957 },
{ 0.786260455674, -0.571251659136, -0.235512287957 },
{ 0.786260455674, 0.571251659136, -0.235512287957 },
{ -0.00276234189317, -0.966392597402, -0.257055863876 },
{ -0.00276234189317, 0.966392597402, -0.257055863876 },
{ 0.570266098214, -0.78020437071, -0.257055863876 },
{ 0.91824036647, 0.301258879093, -0.257055863876 },
{ -0.919947587648, -0.296004592578, -0.257055863876 },
{ -0.919947587648, 0.296004592578, -0.257055863876 },
{ -0.565796535142, -0.783451698363, -0.257055863876 },
{ -0.565796535142, 0.783451698363, -0.257055863876 },
{ 0.570266098214, 0.78020437071, -0.257055863876 },
{ 0.91824036647, -0.301258879093, -0.257055863876 },
{ -0.861803398875, -0.425325404176, -0.27639320225 },
{ -0.861803398875, 0.425325404176, -0.27639320225 },
{ -0.67082039325, -0.688190960236, -0.27639320225 },
{ -0.67082039325, 0.688190960236, -0.27639320225 },
{ 0.138196601125, -0.951056516295, -0.27639320225 },
{ 0.138196601125, 0.951056516295, -0.27639320225 },
{ 0.4472135955, -0.850650808352, -0.27639320225 },
{ 0.4472135955, 0.850650808352, -0.27639320225 },
{ 0.9472135955, -0.162459848116, -0.27639320225 },
{ 0.9472135955, 0.162459848116, -0.27639320225 },
{ -0.776629295624, -0.564254211766, -0.280114479602 },
{ 0.29664599427, -0.912982492932, -0.280114479602 },
{ 0.29664599427, 0.912982492932, -0.280114479602 },
{ 0.959966602709, -9.84524400283e-17, -0.280114479602 },
{ -0.776629295624, 0.564254211766, -0.280114479602 },
{ -0.366291751531, 0.864929335863, -0.343114553354 },
{ -0.212056456008, -0.915043421233, -0.343114553354 },
{ -0.212056456008, 0.915043421233, -0.343114553354 },
{ 0.709406304885, -0.615642020874, -0.343114553354 },
{ 0.804728959783, 0.484441642061, -0.343114553354 },
{ -0.93578705713, -0.0810862934433, -0.343114553354 },
{ -0.93578705713, 0.0810862934433, -0.343114553354 },
{ -0.366291751531, -0.864929335863, -0.343114553354 },
{ 0.709406304885, 0.615642020874, -0.343114553354 },
{ 0.804728959783, -0.484441642061, -0.343114553354 },
{ -0.902656046435, -0.213022865649, -0.373942937552 },
{ -0.902656046435, 0.213022865649, -0.373942937552 },
{ -0.481532842919, -0.792649229259, -0.373942937552 },
{ -0.481532842919, 0.792649229259, -0.373942937552 },
{ -0.0763392739283, -0.924304600611, -0.373942937552 },
{ -0.0763392739283, 0.924304600611, -0.373942937552 },
{ 0.605052382812, -0.702907030488, -0.373942937552 },
{ 0.605052382812, 0.702907030488, -0.373942937552 },
{ 0.855475780471, -0.358228793487, -0.373942937552 },
{ 0.855475780471, 0.358228793487, -0.373942937552 },
{ 0.89187578069, 0.220117027473, -0.395102627219 },
{ -0.850924205977, -0.346153014789, -0.395102627219 },
{ -0.850924205977, 0.346153014789, -0.395102627219 },
{ -0.592161120922, 0.702309846743, -0.395102627219 },
{ 0.0662610397785, -0.916244175191, -0.395102627219 },
{ 0.0662610397785, 0.916244175191, -0.395102627219 },
{ 0.484948506431, -0.78020437071, -0.395102627219 },
{ 0.484948506431, 0.78020437071, -0.395102627219 },
{ -0.592161120922, -0.702309846743, -0.395102627219 },
{ 0.89187578069, -0.220117027473, -0.395102627219 },
{ -0.784657616884, -0.468429850867, -0.406061447423 },
{ -0.784657616884, 0.468429850867, -0.406061447423 },
{ -0.687975800477, -0.601500955008, -0.406061447423 },
{ -0.687975800477, 0.601500955008, -0.406061447423 },
{ 0.203030723711, 0.891006524188, -0.406061447423 },
{ 0.359465188752, -0.840177885327, -0.406061447423 },
{ 0.910137504898, -0.0822424652794, -0.406061447423 },
{ 0.910137504898, 0.0822424652794, -0.406061447423 },
{ 0.203030723711, -0.891006524188, -0.406061447423 },
{ 0.359465188752, 0.840177885327, -0.406061447423 },
{ 0.72360679775, 0.525731112119, -0.4472135955 },
{ -0.27639320225, 0.850650808352, -0.4472135955 },
{ -0.894427191, 1.09535739653e-16, -0.4472135955 },
{ -0.27639320225, -0.850650808352, -0.4472135955 },
{ 0.72360679775, -0.525731112119, -0.4472135955 },
{ -0.866810936066, -0.131200378813, -0.481066795482 },
{ -0.866810936066, 0.131200378813, -0.481066795482 },
{ -0.392638285365, -0.78384304242, -0.481066795482 },
{ -0.392638285365, 0.78384304242, -0.481066795482 },
{ 0.624147130426, -0.615642020874, -0.481066795482 },
{ 0.778382425949, 0.403355348617, -0.481066795482 },
{ -0.143080334944, -0.864929335863, -0.481066795482 },
{ -0.143080334944, 0.864929335863, -0.481066795482 },
{ 0.624147130426, 0.615642020874, -0.481066795482 },
{ 0.778382425949, -0.403355348617, -0.481066795482 },
{ -0.822619317771, -0.259891913008, -0.505720922628 },
{ -0.822619317771, 0.259891913008, -0.505720922628 },
{ -0.501375246491, -0.702046444776, -0.505720922628 },
{ -0.501375246491, 0.702046444776, -0.505720922628 },
{ -0.00703145169386, -0.862668480416, -0.505720922628 },
{ -0.00703145169386, 0.862668480416, -0.505720922628 },
{ 0.512752374322, -0.69378047756, -0.505720922628 },
{ 0.512752374322, 0.69378047756, -0.505720922628 },
{ 0.818273641634, -0.273266528913, -0.505720922628 },
{ 0.818273641634, 0.273266528913, -0.505720922628 },
{ -0.762697378672, -0.383613732685, -0.520704534897 },
{ -0.762697378672, 0.383613732685, -0.520704534897 },
{ -0.600524791785, -0.606825149272, -0.520704534897 },
{ -0.600524791785, 0.606825149272, -0.520704534897 },
{ 0.129151888636, -0.843911474622, -0.520704534897 },
{ 0.129151888636, 0.843911474622, -0.520704534897 },
{ 0.391552646262, -0.758652300163, -0.520704534897 },
{ 0.391552646262, 0.758652300163, -0.520704534897 },
{ 0.84251763556, -0.137952242128, -0.520704534897 },
{ 0.84251763556, 0.137952242128, -0.520704534897 },
{ -0.688190960236, -0.5, -0.525731112119 },
{ -0.688190960236, 0.5, -0.525731112119 },
{ 0.26286555606, -0.809016994375, -0.525731112119 },
{ 0.26286555606, 0.809016994375, -0.525731112119 },
{ 0.850650808352, -1.30514544126e-16, -0.525731112119 },
{ -0.824181348837, 1.00933105077e-16, -0.566325969941 },
{ -0.254686043237, -0.78384304242, -0.566325969941 },
{ -0.254686043237, 0.78384304242, -0.566325969941 },
{ 0.666776717656, -0.484441642061, -0.566325969941 },
{ 0.666776717656, 0.484441642061, -0.566325969941 },
{ -0.790663298371, -0.131655371352, -0.597928433681 },
{ -0.790663298371, 0.131655371352, -0.597928433681 },
{ -0.369540094855, -0.711281734962, -0.597928433681 },
{ -0.369540094855, 0.711281734962, -0.597928433681 },
{ -0.119116697195, -0.792649229259, -0.597928433681 },
{ -0.119116697195, 0.792649229259, -0.597928433681 },
{ 0.562274959545, -0.571251659136, -0.597928433681 },
{ 0.562274959545, 0.571251659136, -0.597928433681 },
{ 0.717045130876, -0.358228793487, -0.597928433681 },
{ 0.717045130876, 0.358228793487, -0.597928433681 },
{ -0.73796417822, -0.264082750659, -0.621022682733 },
{ -0.73796417822, 0.264082750659, -0.621022682733 },
{ -0.479201093165, -0.620239582613, -0.621022682733 },
{ -0.479201093165, 0.620239582613, -0.621022682733 },
{ 0.0231141485456, -0.783451698363, -0.621022682733 },
{ 0.0231141485456, 0.783451698363, -0.621022682733 },
{ 0.441801615198, -0.647411893882, -0.621022682733 },
{ 0.441801615198, 0.647411893882, -0.621022682733 },
{ 0.752249507642, -0.220117027473, -0.621022682733 },
{ 0.752249507642, 0.220117027473, -0.621022682733 },
{ -0.671460574578, -0.386187385588, -0.632455532034 },
{ -0.671460574578, 0.386187385588, -0.632455532034 },
{ -0.574778758172, -0.519258489728, -0.632455532034 },
{ -0.574778758172, 0.519258489728, -0.632455532034 },
{ 0.159793300977, -0.757935420048, -0.632455532034 },
{ 0.159793300977, 0.757935420048, -0.632455532034 },
{ 0.316227766017, -0.707106781187, -0.632455532034 },
{ 0.316227766017, 0.707106781187, -0.632455532034 },
{ 0.770218265756, -0.0822424652794, -0.632455532034 },
{ 0.770218265756, 0.0822424652794, -0.632455532034 },
{ -0.738175316343, 9.04004038369e-17, -0.674608925484 },
{ -0.228108717578, -0.702046444776, -0.674608925484 },
{ -0.228108717578, 0.702046444776, -0.674608925484 },
{ 0.59719637575, -0.433888564553, -0.674608925484 },
{ 0.59719637575, 0.433888564553, -0.674608925484 },
{ -0.695305382328, -0.132792476828, -0.706340274516 },
{ -0.695305382328, 0.132792476828, -0.706340274516 },
{ -0.341154329822, -0.620239582613, -0.706340274516 },
{ -0.341154329822, 0.620239582613, -0.706340274516 },
{ -0.0885680290177, -0.702309846743, -0.706340274516 },
{ -0.0885680290177, 0.702309846743, -0.706340274516 },
{ 0.484460411089, -0.516121620051, -0.706340274516 },
{ 0.484460411089, 0.516121620051, -0.706340274516 },
{ 0.640567330079, -0.301258879093, -0.706340274516 },
{ 0.640567330079, 0.301258879093, -0.706340274516 },
{ -0.638196601125, -0.26286555606, -0.72360679775 },
{ 0.361803398875, 0.587785252292, -0.72360679775 },
{ 0.67082039325, 0.162459848116, -0.72360679775 },
{ -0.638196601125, 0.26286555606, -0.72360679775 },
{ -0.4472135955, -0.525731112119, -0.72360679775 },
{ -0.4472135955, 0.525731112119, -0.72360679775 },
{ 0.0527864045, -0.688190960236, -0.72360679775 },
{ 0.0527864045, 0.688190960236, -0.72360679775 },
{ 0.361803398875, -0.587785252292, -0.72360679775 },
{ 0.67082039325, -0.162459848116, -0.72360679775 },
{ -0.550011921255, -0.399607051702, -0.73334922834 },
{ 0.210085859702, 0.646577791798, -0.73334922834 },
{ 0.679852123107, -9.84524400283e-17, -0.73334922834 },
{ -0.550011921255, 0.399607051702, -0.73334922834 },
{ 0.210085859702, -0.646577791798, -0.73334922834 },
{ -0.638053721177, 7.81390447324e-17, -0.769991849887 },
{ -0.197169443168, -0.606825149272, -0.769991849887 },
{ -0.197169443168, 0.606825149272, -0.769991849887 },
{ 0.516196303756, -0.375038567478, -0.769991849887 },
{ 0.516196303756, 0.375038567478, -0.769991849887 },
{ -0.589218109299, -0.133071104141, -0.796940462592 },
{ -0.589218109299, 0.133071104141, -0.796940462592 },
{ -0.30863654989, 0.519258489728, -0.796940462592 },
{ -0.0555202684433, 0.601500955008, -0.796940462592 },
{ 0.398470231296, -0.45399049974, -0.796940462592 },
{ -0.30863654989, -0.519258489728, -0.796940462592 },
{ -0.0555202684433, -0.601500955008, -0.796940462592 },
{ 0.398470231296, 0.45399049974, -0.796940462592 },
{ 0.554904696336, -0.23867693032, -0.796940462592 },
{ 0.554904696336, 0.23867693032, -0.796940462592 },
{ -0.506731853971, -0.266404701135, -0.819909362908 },
{ -0.506731853971, 0.266404701135, -0.819909362908 },
{ -0.409954681454, -0.399607051702, -0.819909362908 },
{ -0.409954681454, 0.399607051702, -0.819909362908 },
{ 0.0967771725174, -0.564254211766, -0.819909362908 },
{ 0.0967771725174, 0.564254211766, -0.819909362908 },
{ 0.253365926986, -0.51337544123, -0.819909362908 },
{ 0.566543435922, -0.082323580032, -0.819909362908 },
{ 0.566543435922, 0.082323580032, -0.819909362908 },
{ 0.253365926986, 0.51337544123, -0.819909362908 },
{ -0.525731112119, 6.43834923669e-17, -0.850650808352 },
{ -0.162459848116, -0.5, -0.850650808352 },
{ -0.162459848116, 0.5, -0.850650808352 },
{ 0.425325404176, -0.309016994375, -0.850650808352 },
{ 0.425325404176, 0.309016994375, -0.850650808352 },
{ -0.449298870157, -0.133071104141, -0.883415308062 },
{ -0.449298870157, 0.133071104141, -0.883415308062 },
{ -0.265399127156, -0.386187385588, -0.883415308062 },
{ -0.265399127156, 0.386187385588, -0.883415308062 },
{ -0.0122828457086, -0.468429850867, -0.883415308062 },
{ -0.0122828457086, 0.468429850867, -0.883415308062 },
{ 0.285273188991, -0.37174803446, -0.883415308062 },
{ 0.285273188991, 0.37174803446, -0.883415308062 },
{ 0.441707654031, -0.15643446504, -0.883415308062 },
{ 0.441707654031, 0.15643446504, -0.883415308062 },
{ -0.361803398875, 0.26286555606, -0.894427191 },
{ 0.138196601125, -0.425325404176, -0.894427191 },
{ 0.138196601125, 0.425325404176, -0.894427191 },
{ -0.361803398875, -0.26286555606, -0.894427191 },
{ 0.4472135955, -5.83678785436e-17, -0.894427191 },
{ -0.403355348617, 4.93967836603e-17, -0.915043421233 },
{ -0.124643657495, -0.383613732685, -0.915043421233 },
{ -0.124643657495, 0.383613732685, -0.915043421233 },
{ 0.326321331803, -0.237086325351, -0.915043421233 },
{ 0.326321331803, 0.237086325351, -0.915043421233 },
{ -0.320819927624, -0.132792476828, -0.937785013816 },
{ -0.320819927624, 0.132792476828, -0.937785013816 },
{ -0.225431960172, -0.264082750659, -0.937785013816 },
{ -0.225431960172, 0.264082750659, -0.937785013816 },
{ 0.0271543406322, 0.346153014789, -0.937785013816 },
{ 0.181495314087, -0.296004592578, -0.937785013816 },
{ 0.181495314087, 0.296004592578, -0.937785013816 },
{ 0.337602233077, -0.0811418516199, -0.937785013816 },
{ 0.337602233077, 0.0811418516199, -0.937785013816 },
{ 0.0271543406322, -0.346153014789, -0.937785013816 },
{ -0.0844440014279, -0.259891913008, -0.961938357784 },
{ -0.0844440014279, 0.259891913008, -0.961938357784 },
{ 0.221077265884, -0.16062203564, -0.961938357784 },
{ 0.221077265884, 0.16062203564, -0.961938357784 },
{ -0.273266528913, 3.34654979947e-17, -0.961938357784 },
{ -0.181208072862, -0.131655371352, -0.974592477666 },
{ -0.181208072862, 0.131655371352, -0.974592477666 },
{ 0.0692153247974, -0.213022865649, -0.974592477666 },
{ 0.0692153247974, 0.213022865649, -0.974592477666 },
{ 0.223985496129, -2.81206950418e-17, -0.974592477666 },
{ -0.137952242128, 1.68942771757e-17, -0.990438881957 },
{ -0.0426295872296, -0.131200378813, -0.990438881957 },
{ -0.0426295872296, 0.131200378813, -0.990438881957 },
{ 0.111605708293, -0.0810862934433, -0.990438881957 },
{ 0.111605708293, 0.0810862934433, -0.990438881957 },
{ 0, 0, -1 },
};
const unsigned int numPoints = sizeof(vertices)/(3*sizeof(double));
mat.conservativeResize(numPoints, 3);
for(unsigned i = 0; i < numPoints; ++i)
{
for(unsigned j = 0; j < 3; ++j)
{
mat(i,j) = vertices[i][j];
}
}
}