testcase for projection traits needs 3D points

This commit is contained in:
Andreas Fabri 2012-01-24 17:35:51 +00:00
parent 498c0a6e1e
commit e987b028ab
3 changed files with 210 additions and 2 deletions

1
.gitattributes vendored
View File

@ -211,6 +211,7 @@ Alpha_shapes_2/doc_tex/Alpha_shapes_2/alpha-detail.png -text
Alpha_shapes_2/doc_tex/Alpha_shapes_2/alphashape.pdf -text svneol=unset#application/pdf
Alpha_shapes_2/doc_tex/Alpha_shapes_2/alphashape.png -text
Alpha_shapes_2/include/CGAL/internal/Lazy_alpha_nt_2.h -text
Alpha_shapes_2/test/Alpha_shapes_2/data/fin3 -text
Alpha_shapes_2/test/Alpha_shapes_2/test_alpha_projection_traits.cpp -text
Alpha_shapes_3/demo/Alpha_shapes_3/Alpha_shape_3.qrc -text
Alpha_shapes_3/demo/Alpha_shapes_3/MainWindow.ui -text

View File

@ -0,0 +1,208 @@
206
39 498 7812
57 502 7812
70 496 7812
606 495 7812
25 492 7812
54 492 7812
61 494 7812
78 494 7812
85 494 7812
101 485 7812
114 487 7812
119 487 7812
126 490 7812
140 488 7812
148 493 7812
598 485 7812
623 492 7812
34 481 7812
163 480 7812
169 475 7812
184 483 7812
194 478 7812
337 482 7812
354 478 7812
590 477 7812
621 480 7812
25 471 7812
196 467 7812
211 466 7812
224 474 7812
234 466 7812
244 468 7812
246 474 7812
259 465 7812
267 466 7812
277 474 7812
289 469 7812
298 466 7812
309 472 7812
316 467 7812
333 466 7812
363 465 7812
367 465 7812
576 474 7812
633 465 7812
17 458 7812
383 455 7812
394 456 7812
578 456 7812
617 459 7812
20 452 7812
366 451 7812
413 454 7812
423 450 7812
432 449 7812
441 447 7812
567 452 7812
612 449 7812
20 439 7812
380 436 7812
391 439 7812
399 444 7812
427 439 7812
562 440 7812
606 440 7812
17 426 7812
433 431 7812
453 431 7812
456 431 7812
537 433 7812
545 425 7812
605 433 7812
17 417 7812
424 422 7812
435 423 7812
459 421 7812
532 421 7812
607 415 7812
10 414 7812
419 406 7812
438 412 7812
460 413 7812
469 406 7812
524 410 7812
609 412 7812
13 396 7812
415 401 7812
444 403 7812
482 399 7812
519 395 7812
603 395 7812
13 385 7812
417 390 7812
439 386 7812
479 393 7812
512 385 7812
585 392 7812
-5 379 7812
415 380 7812
439 384 7812
478 381 7812
487 379 7812
499 380 7812
584 378 7812
-2 367 7812
419 371 7812
431 368 7812
585 367 7812
10 356 7812
576 361 7812
11 345 7812
582 353 7812
9 342 7812
579 335 7812
16 331 7812
567 333 7812
20 319 7812
574 320 7812
23 314 7812
568 306 7812
22 299 7812
582 302 7812
25 290 7812
571 293 7812
31 280 7812
560 284 7812
34 268 7812
547 270 7812
42 259 7812
45 263 7812
553 263 7812
48 248 7812
543 248 7812
58 237 7812
68 241 7812
77 241 7812
539 237 7812
85 225 7812
525 229 7812
536 233 7812
103 221 7812
106 224 7812
171 222 7812
176 220 7812
188 218 7812
526 219 7812
122 209 7812
132 209 7812
144 212 7812
150 205 7812
164 209 7812
202 213 7812
525 208 7812
214 204 7812
452 197 7812
525 197 7812
206 192 7812
430 189 7812
444 192 7812
455 193 7812
469 190 7812
484 189 7812
493 188 7812
535 193 7812
216 184 7812
259 183 7812
363 175 7812
370 178 7812
377 183 7812
387 181 7812
415 176 7812
504 177 7812
511 177 7812
536 181 7812
221 173 7812
230 169 7812
243 166 7812
249 171 7812
269 173 7812
343 172 7812
350 172 7812
404 167 7812
410 170 7812
420 171 7812
517 174 7812
545 172 7812
274 158 7812
342 156 7812
522 163 7812
553 155 7812
279 149 7812
332 148 7812
524 149 7812
548 146 7812
275 140 7812
320 138 7812
530 142 7812
547 139 7812
286 127 7812
296 132 7812
319 130 7812
525 126 7812
538 131 7812
301 124 7812
305 117 7812
321 119 7812

View File

@ -67,7 +67,7 @@ template <class OutputIterator>
bool
file_input(OutputIterator out)
{
std::ifstream is("./data/fin", std::ios::in);
std::ifstream is("./data/fin3", std::ios::in);
if(is.fail()){
std::cerr << "unable to open file for input" << std::endl;
@ -90,7 +90,6 @@ int main()
if(! file_input(std::back_inserter(points))){
return -1;
}
//ExactAlphaComparisonTag is False
{
std::vector<Segment> segments;