|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76157 - in sandbox/gtl/libs/polygon/voronoi_example: . input_data/failure input_data/polygon input_data/primary output_data/failure output_data/polygon output_data/primary
From: sydorchuk.andriy_at_[hidden]
Date: 2011-12-25 14:33:18
Author: asydorchuk
Date: 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
New Revision: 76157
URL: http://svn.boost.org/trac/boost/changeset/76157
Log:
Minor refactoring updates to voronoi_visualizer.cpp.
Removed tests from failed directory (nothing is failing).
Added new tests to primary and polygon directories.
Added:
sandbox/gtl/libs/polygon/voronoi_example/input_data/polygon/polygon_11.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/polygon/polygon_12.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_049.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_050.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_051.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_052.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_053.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_054.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_055.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_056.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_057.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_058.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_059.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_060.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_061.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_062.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_063.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_064.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_065.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_066.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_067.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_068.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_069.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_070.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_071.txt (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/polygon/polygon_11.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/polygon/polygon_12.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_049.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_050.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_051.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_052.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_053.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_054.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_055.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_056.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_057.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_058.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_059.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_060.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_061.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_062.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_063.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_064.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_065.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_066.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_067.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_068.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_069.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_070.png (contents, props changed)
sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_071.png (contents, props changed)
Removed:
sandbox/gtl/libs/polygon/voronoi_example/input_data/failure/failure_001.txt
sandbox/gtl/libs/polygon/voronoi_example/output_data/failure/failure_001.png
Text files modified:
sandbox/gtl/libs/polygon/voronoi_example/voronoi_visualizer.cpp | 53 ++++++++++++++++++++++++---------------
1 files changed, 32 insertions(+), 21 deletions(-)
Deleted: sandbox/gtl/libs/polygon/voronoi_example/input_data/failure/failure_001.txt
==============================================================================
--- sandbox/gtl/libs/polygon/voronoi_example/input_data/failure/failure_001.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
+++ (empty file)
@@ -1,5 +0,0 @@
-1
-9 72
-2
--2 0 -1 -50
--1 -50 0 -99
\ No newline at end of file
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/polygon/polygon_11.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/polygon/polygon_11.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,11 @@
+0
+9
+0 0 1 10
+1 10 4 9
+4 9 4 2
+4 2 0 0
+5 5 6 8
+6 8 10 10
+10 10 9 1
+9 1 6 2
+6 2 5 5
\ No newline at end of file
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/polygon/polygon_12.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/polygon/polygon_12.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,14 @@
+0
+12
+0 0 100 0
+100 0 100 100
+100 100 0 100
+0 100 0 0
+15 15 60 20
+60 20 87 23
+60 20 57 47
+15 85 30 80
+30 80 25 65
+30 80 60 70
+60 70 75 65
+60 70 65 85
\ No newline at end of file
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_049.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_049.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,11 @@
+0
+9
+-5 4 -7 8
+-5 4 -5 2
+-5 4 -2 7
+-1 -6 -5 -2
+-1 -6 -3 -10
+-1 -6 5 -6
+5 -1 5 -4
+5 -1 3 4
+5 -1 8 6
\ No newline at end of file
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_050.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_050.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,5 @@
+0 4
+2134582590 2134582590 2134582590 2141031480
+2134582590 2134582590 2141031480 2134582590
+2141031480 2134582590 2141031480 2141031480
+2134582590 2141031480 2141031480 2141031480
\ No newline at end of file
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_051.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_051.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,5 @@
+0 4
+-1073741800 -1073741800 -687194752 -1159641144
+-1073741800 -1073741800 -408021884 -923417948
+-1073741800 -1073741800 -343597376 -2061584256
+-2147483600 -837518604 -1073741800 -1073741800
\ No newline at end of file
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_052.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_052.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,5 @@
+0
+3
+0 0 0 -1
+0 0 1 1
+0 0 1 -1
\ No newline at end of file
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_053.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_053.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,5 @@
+2
+1 0
+0 10
+1
+-2 10 -1 0
\ No newline at end of file
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_054.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_054.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,4 @@
+0 3
+-1073741800 -1073741800 -687194752 -1159641144
+-1073741800 -1073741800 -408021884 -923417948
+-1073741800 -1073741800 -343597376 -2061584256
\ No newline at end of file
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_055.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_055.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,5 @@
+0
+3
+-3 -4 -1 -2
+-2 4 4 -1
+0 -2 0 1
\ No newline at end of file
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_056.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_056.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,5 @@
+1
+9 72
+2
+-2 0 -1 -50
+-1 -50 0 -99
\ No newline at end of file
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_057.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_057.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,6 @@
+5
+-4 -4
+-6 0
+-2 2
+0 4
+-10 2
\ No newline at end of file
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_058.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_058.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,9 @@
+0 8
+644245092 214748364 858993456 214748364
+-644245092 -214748364 0 644245092
+-858993456 -214748364 -429496728 -644245092
+0 644245092 -214748364 644245092
+644245092 644245092 0 644245092
+858993456 858993456 644245092 644245092
+644245092 214748364 644245092 644245092
+858993456 214748364 644245092 214748364
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_059.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_059.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,12 @@
+0 11
+214748364 -214748364 1073741820 -1073741820
+-858993456 -214748364 -858993456 0
+-214748364 -644245092 -858993456 -214748364
+0 -644245092 -214748364 -644245092
+214748364 -644245092 0 -644245092
+-858993456 0 -858993456 -214748364
+-644245092 214748364 -858993456 0
+-214748364 214748364 -214748364 0
+-214748364 0 429496728 0
+-214748364 0 -214748364 -644245092
+-214748364 -644245092 0 -644245092
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_060.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_060.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,12 @@
+0 11
+1 -1 5 -5
+-4 -1 -4 0
+-1 -3 -4 -1
+0 -3 -1 -3
+1 -3 0 -3
+-4 0 -4 -1
+-3 1 -4 0
+-1 1 -1 0
+-1 0 2 0
+-1 0 -1 -3
+-1 -3 0 -3
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_061.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_061.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,9 @@
+0 8
+-858993456 644245092 0 -429496728
+644245092 214748364 -214748364 214748364
+0 429496728 214748364 644245092
+214748364 644245092 429496728 644245092
+429496728 644245092 644245092 858993456
+-858993456 644245092 -429496728 214748364
+-429496728 644245092 214748364 644245092
+214748364 644245092 429496728 644245092
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_062.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_062.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,4 @@
+0 3
+644245092 214748364 -214748364 214748364
+0 429496728 214748364 644245092
+-429496728 644245092 214748364 644245092
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_063.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_063.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,4 @@
+0
+2
+-5 0 -1 -1
+-4 0 -6 3
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_064.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_064.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,4 @@
+0 3
+-8 15 24 28
+-37 4 -39 36
+12 -30 44 8
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_065.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_065.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,89 @@
+0
+87
+-50061 -49176 -49997 -49195
+-50024 -49880 -49980 -49904
+-50001 -49559 -49983 -49632
+-49990 -49437 -49931 -49440
+-49971 -49300 -49894 -49240
+-49938 -49762 -49923 -49826
+-49938 -49133 -49864 -49064
+-49923 -49874 -49852 -49836
+-49897 -49640 -49866 -49683
+-49895 -49859 -49840 -49829
+-49889 -49210 -49828 -49159
+-49857 -49380 -49795 -49428
+-49841 -49551 -49836 -49502
+-49833 -49320 -49791 -49333
+-49828 -49707 -49779 -49627
+-49821 -49526 -49800 -49565
+-49817 -49714 -49729 -49752
+-49806 -49111 -49733 -49060
+-49796 -49803 -49787 -49787
+-49761 -49652 -49679 -49721
+-49756 -49266 -49727 -49249
+-49754 -49465 -49656 -49532
+-49740 -49146 -49706 -49152
+-49726 -49236 -49710 -49163
+-49717 -49215 -49617 -49303
+-49702 -49809 -49680 -49735
+-49702 -49370 -49678 -49415
+-49677 -49849 -49636 -49917
+-49641 -49057 -49560 -49083
+-49632 -49692 -49548 -49776
+-49627 -49640 -49627 -49572
+-49626 -49932 -49565 -49834
+-49605 -49426 -49547 -49466
+-49597 -49185 -49526 -49250
+-49542 -49652 -49454 -49751
+-49540 -49283 -49471 -49298
+-49537 -49845 -49500 -49927
+-49527 -49420 -49473 -49518
+-49519 -49092 -49483 -49162
+-49517 -49235 -49442 -49292
+-49511 -49972 -49504 -49938
+-49504 -49827 -49458 -49784
+-49494 -49323 -49485 -49413
+-49481 -49509 -49443 -49578
+-49461 -49606 -49427 -49598
+-49435 -49153 -49403 -49183
+-49419 -49762 -49376 -49792
+-49417 -49832 -49334 -49899
+-49408 -49887 -49398 -49973
+-49388 -49221 -49365 -49277
+-49381 -49444 -49374 -49522
+-49379 -49434 -49336 -49457
+-49373 -49220 -49367 -49171
+-49369 -49140 -49317 -49239
+-49367 -49538 -49291 -49562
+-49364 -49102 -49293 -49109
+-49346 -49652 -49332 -49605
+-49343 -49810 -49295 -49850
+-49337 -49198 -49292 -49238
+-49322 -49092 -49309 -49041
+-49317 -49349 -49315 -49396
+-49312 -49203 -49294 -49126
+-49297 -49988 -49256 -49977
+-49295 -49580 -49213 -49491
+-49291 -49641 -49278 -49656
+-49286 -49601 -49250 -49672
+-49283 -49914 -49281 -49847
+-49281 -49590 -49250 -49601
+-49273 -49379 -49232 -49312
+-49257 -49616 -49231 -49621
+-49245 -49884 -49202 -49841
+-49234 -49059 -49156 -49135
+-49225 -49336 -49164 -49360
+-49207 -49354 -49204 -49372
+-49188 -49136 -49160 -49168
+-49171 -49946 -49108 -49855
+-49169 -49415 -49101 -49453
+-49158 -49164 -49136 -49122
+-49130 -49925 -49097 -49841
+-49127 -49675 -49047 -49676
+-49109 -49435 -49011 -49528
+-49104 -49909 -49084 -49859
+-49082 -49602 -48992 -49566
+-49073 -49130 -49002 -49081
+-49064 -49936 -49025 -49978
+-49044 -49020 -49028 -49012
+-49010 -49234 -48949 -49210
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_066.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_066.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,195 @@
+0
+193
+-50004 -49132 -49976 -49143
+-50000 -49669 -49975 -49629
+-49998 -49048 -49946 -49035
+-49992 -49789 -49931 -49697
+-49987 -49783 -49900 -49859
+-49986 -49922 -49973 -49927
+-49986 -49478 -49972 -49515
+-49984 -49089 -49938 -49107
+-49983 -49675 -49963 -49734
+-49975 -49538 -49940 -49498
+-49971 -49867 -49918 -49886
+-49964 -49980 -49952 -50034
+-49952 -49566 -49904 -49592
+-49952 -49236 -49859 -49215
+-49945 -49509 -49921 -49460
+-49941 -49836 -49865 -49921
+-49940 -49321 -49932 -49403
+-49933 -49797 -49837 -49806
+-49929 -49381 -49858 -49388
+-49928 -49608 -49872 -49696
+-49927 -49805 -49902 -49825
+-49909 -49026 -49858 -48938
+-49898 -49229 -49851 -49251
+-49895 -49633 -49808 -49721
+-49886 -49687 -49837 -49759
+-49878 -49348 -49846 -49395
+-49875 -49084 -49837 -49109
+-49861 -49927 -49842 -49904
+-49857 -49151 -49830 -49181
+-49856 -49372 -49846 -49393
+-49855 -49515 -49784 -49607
+-49851 -49037 -49844 -49073
+-49845 -49220 -49790 -49301
+-49838 -49482 -49826 -49430
+-49836 -49490 -49770 -49397
+-49829 -49370 -49738 -49326
+-49805 -49616 -49781 -49647
+-49802 -49947 -49754 -49975
+-49802 -49824 -49782 -49751
+-49800 -49734 -49712 -49767
+-49795 -49462 -49730 -49430
+-49788 -49139 -49728 -49156
+-49786 -49538 -49747 -49514
+-49783 -49261 -49742 -49187
+-49775 -49133 -49752 -49051
+-49772 -49826 -49770 -49755
+-49770 -49737 -49715 -49701
+-49768 -49969 -49737 -49988
+-49768 -49289 -49708 -49270
+-49756 -49890 -49745 -49906
+-49732 -50045 -49659 -49957
+-49726 -49961 -49689 -49933
+-49725 -49584 -49701 -49520
+-49717 -49454 -49665 -49408
+-49713 -49620 -49696 -49597
+-49705 -49300 -49688 -49280
+-49702 -48946 -49619 -49011
+-49701 -49797 -49672 -49733
+-49699 -49730 -49640 -49673
+-49696 -49538 -49668 -49562
+-49695 -49454 -49644 -49509
+-49683 -49845 -49613 -49847
+-49676 -49455 -49614 -49455
+-49676 -49165 -49665 -49131
+-49669 -49436 -49618 -49397
+-49667 -49273 -49611 -49341
+-49664 -49941 -49644 -49853
+-49655 -49426 -49593 -49405
+-49650 -49039 -49592 -48996
+-49645 -49762 -49558 -49819
+-49642 -49918 -49629 -49925
+-49638 -49409 -49582 -49328
+-49636 -49743 -49559 -49805
+-49629 -49529 -49549 -49487
+-49627 -49096 -49577 -49054
+-49626 -49940 -49562 -50025
+-49612 -49466 -49574 -49398
+-49606 -49583 -49532 -49633
+-49606 -49288 -49556 -49356
+-49600 -49856 -49556 -49907
+-49594 -49166 -49546 -49148
+-49593 -49160 -49557 -49119
+-49586 -49533 -49534 -49534
+-49576 -49655 -49527 -49733
+-49571 -49468 -49564 -49410
+-49555 -49534 -49505 -49544
+-49555 -49314 -49503 -49289
+-49547 -49413 -49535 -49473
+-49543 -49984 -49462 -49886
+-49537 -49835 -49489 -49866
+-49536 -49256 -49515 -49237
+-49530 -49940 -49503 -49875
+-49510 -49342 -49485 -49366
+-49505 -49287 -49455 -49308
+-49499 -49909 -49475 -49880
+-49499 -49648 -49486 -49612
+-49489 -49785 -49482 -49851
+-49488 -49690 -49469 -49624
+-49484 -49727 -49441 -49650
+-49477 -49146 -49461 -49149
+-49474 -49433 -49401 -49411
+-49471 -49873 -49451 -49780
+-49471 -49725 -49415 -49775
+-49460 -49998 -49361 -49980
+-49458 -49621 -49448 -49561
+-49448 -49432 -49420 -49438
+-49443 -49942 -49353 -49975
+-49441 -49662 -49360 -49721
+-49439 -49313 -49375 -49361
+-49438 -49826 -49378 -49771
+-49437 -49884 -49427 -49849
+-49432 -49713 -49416 -49748
+-49423 -49035 -49363 -48938
+-49411 -49201 -49312 -49232
+-49410 -49095 -49399 -49034
+-49399 -49547 -49342 -49497
+-49399 -49230 -49390 -49259
+-49394 -49445 -49361 -49429
+-49393 -49615 -49360 -49660
+-49392 -49185 -49371 -49185
+-49392 -49020 -49390 -49005
+-49369 -49816 -49324 -49864
+-49368 -49828 -49342 -49845
+-49355 -50082 -49274 -49996
+-49354 -49414 -49270 -49512
+-49350 -49378 -49324 -49448
+-49349 -49027 -49317 -49012
+-49345 -49337 -49315 -49263
+-49344 -49983 -49278 -49977
+-49341 -49596 -49321 -49518
+-49338 -49054 -49329 -49121
+-49337 -49788 -49267 -49727
+-49333 -49258 -49320 -49275
+-49329 -49596 -49276 -49520
+-49325 -49228 -49232 -49257
+-49316 -49037 -49266 -49136
+-49313 -49612 -49267 -49604
+-49310 -49276 -49305 -49362
+-49306 -49704 -49294 -49652
+-49302 -49872 -49216 -49849
+-49286 -49089 -49225 -49139
+-49284 -49119 -49278 -49117
+-49276 -49306 -49209 -49406
+-49271 -49927 -49196 -49833
+-49264 -49696 -49176 -49674
+-49253 -49909 -49245 -49992
+-49252 -49804 -49161 -49822
+-49251 -49757 -49177 -49747
+-49249 -49603 -49150 -49595
+-49239 -49989 -49200 -49929
+-49239 -49202 -49205 -49178
+-49233 -49713 -49169 -49751
+-49225 -49327 -49210 -49359
+-49223 -49037 -49158 -48993
+-49219 -49243 -49181 -49336
+-49212 -49235 -49199 -49267
+-49211 -49912 -49138 -49959
+-49210 -49462 -49123 -49497
+-49206 -49814 -49151 -49905
+-49201 -49527 -49188 -49481
+-49190 -49120 -49173 -49206
+-49178 -49656 -49174 -49598
+-49172 -49616 -49110 -49600
+-49164 -49673 -49157 -49768
+-49161 -49414 -49096 -49406
+-49159 -49013 -49077 -49078
+-49154 -49000 -49086 -49047
+-49151 -49787 -49151 -49693
+-49143 -49651 -49123 -49683
+-49141 -49982 -49100 -49949
+-49138 -49607 -49117 -49583
+-49128 -49565 -49115 -49499
+-49123 -49412 -49040 -49426
+-49121 -49732 -49103 -49690
+-49117 -49724 -49102 -49688
+-49114 -49206 -49075 -49124
+-49110 -49937 -49030 -49889
+-49109 -49215 -49071 -49305
+-49092 -49527 -49056 -49604
+-49091 -49133 -49057 -49070
+-49089 -49036 -49022 -49076
+-49079 -49254 -49019 -49331
+-49077 -49768 -49042 -49804
+-49060 -49611 -49029 -49677
+-49060 -49083 -49052 -49170
+-49054 -49751 -49041 -49789
+-49047 -49846 -48991 -49882
+-49045 -49567 -48976 -49528
+-49043 -49787 -49000 -49864
+-49038 -49415 -49028 -49463
+-49033 -49721 -48973 -49756
+-49009 -49823 -48919 -49827
+-49008 -49022 -48959 -49051
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_067.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_067.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,193 @@
+0
+191
+-50042 -49987 -49958 -49945
+-50038 -49880 -49984 -49840
+-50037 -49252 -49945 -49166
+-50037 -49056 -49996 -49148
+-50032 -49217 -49997 -49201
+-50026 -49270 -49960 -49312
+-50015 -49525 -49981 -49615
+-49999 -49338 -49906 -49318
+-49987 -49179 -49967 -49165
+-49979 -49752 -49915 -49671
+-49969 -49530 -49933 -49592
+-49951 -49784 -49879 -49749
+-49951 -49221 -49901 -49194
+-49946 -49228 -49884 -49303
+-49945 -49017 -49892 -49044
+-49942 -49455 -49940 -49549
+-49935 -49727 -49867 -49646
+-49935 -49357 -49857 -49444
+-49929 -49561 -49868 -49576
+-49927 -49909 -49877 -49866
+-49917 -49237 -49913 -49230
+-49914 -49291 -49888 -49357
+-49911 -49876 -49902 -49845
+-49898 -49977 -49854 -49895
+-49898 -49495 -49817 -49490
+-49894 -50000 -49824 -50069
+-49893 -49680 -49865 -49692
+-49882 -49217 -49795 -49150
+-49873 -49323 -49831 -49278
+-49865 -49067 -49777 -49100
+-49859 -49115 -49822 -49170
+-49856 -49764 -49847 -49787
+-49855 -49475 -49796 -49446
+-49847 -49503 -49826 -49601
+-49847 -49227 -49774 -49288
+-49838 -49679 -49810 -49646
+-49821 -49704 -49807 -49760
+-49818 -49528 -49797 -49532
+-49812 -49585 -49753 -49537
+-49805 -49866 -49749 -49911
+-49803 -49243 -49742 -49282
+-49795 -49351 -49763 -49446
+-49790 -49322 -49768 -49409
+-49788 -49759 -49766 -49695
+-49780 -49048 -49765 -49147
+-49773 -49459 -49741 -49530
+-49764 -49068 -49746 -49104
+-49762 -49163 -49758 -49119
+-49760 -49208 -49715 -49126
+-49756 -49583 -49713 -49539
+-49754 -49728 -49690 -49715
+-49752 -49643 -49686 -49622
+-49748 -49983 -49653 -49989
+-49735 -49490 -49710 -49475
+-49733 -49426 -49649 -49404
+-49730 -49073 -49701 -49052
+-49727 -49005 -49681 -48996
+-49722 -49757 -49687 -49773
+-49702 -49179 -49668 -49222
+-49701 -49141 -49666 -49086
+-49698 -49353 -49683 -49290
+-49696 -49526 -49669 -49525
+-49692 -49988 -49637 -50061
+-49691 -49859 -49676 -49844
+-49690 -49445 -49637 -49414
+-49682 -49552 -49675 -49610
+-49679 -49853 -49671 -49918
+-49677 -49383 -49616 -49389
+-49673 -49827 -49666 -49784
+-49663 -49990 -49626 -50052
+-49661 -49742 -49639 -49842
+-49655 -49070 -49627 -48996
+-49650 -49495 -49585 -49491
+-49649 -49907 -49584 -49945
+-49645 -49253 -49640 -49189
+-49644 -49285 -49555 -49253
+-49643 -49740 -49592 -49686
+-49640 -49281 -49602 -49182
+-49630 -49389 -49536 -49479
+-49622 -49335 -49554 -49292
+-49619 -49538 -49606 -49522
+-49606 -49039 -49535 -49096
+-49602 -49383 -49599 -49328
+-49600 -49700 -49596 -49691
+-49599 -49612 -49531 -49514
+-49599 -49560 -49546 -49483
+-49592 -49206 -49563 -49198
+-49588 -49783 -49564 -49811
+-49575 -49789 -49486 -49772
+-49570 -49179 -49482 -49278
+-49557 -49225 -49506 -49269
+-49552 -49621 -49524 -49654
+-49540 -49058 -49532 -49085
+-49534 -49873 -49522 -49964
+-49532 -49626 -49502 -49607
+-49530 -49638 -49432 -49539
+-49527 -49420 -49478 -49505
+-49526 -49716 -49439 -49744
+-49508 -49372 -49498 -49454
+-49508 -49301 -49468 -49382
+-49507 -49275 -49459 -49371
+-49497 -49840 -49422 -49895
+-49494 -49252 -49451 -49251
+-49480 -49732 -49452 -49803
+-49472 -49036 -49460 -49129
+-49459 -49831 -49391 -49775
+-49456 -49427 -49390 -49409
+-49453 -49001 -49452 -48918
+-49441 -48971 -49380 -49025
+-49438 -49914 -49388 -49964
+-49430 -49525 -49342 -49457
+-49427 -49116 -49393 -49180
+-49424 -49378 -49339 -49293
+-49420 -49667 -49378 -49577
+-49419 -49208 -49392 -49286
+-49417 -49885 -49407 -49797
+-49417 -49327 -49345 -49285
+-49404 -49689 -49389 -49637
+-49399 -49430 -49320 -49375
+-49399 -49238 -49370 -49259
+-49394 -49946 -49367 -49866
+-49388 -49703 -49362 -49664
+-49385 -49785 -49311 -49789
+-49382 -49166 -49378 -49154
+-49375 -49211 -49344 -49286
+-49374 -49997 -49313 -50051
+-49367 -49941 -49348 -49969
+-49364 -49787 -49340 -49887
+-49359 -49232 -49315 -49203
+-49351 -49957 -49323 -49869
+-49349 -48969 -49303 -49026
+-49344 -49030 -49342 -49116
+-49333 -49248 -49326 -49316
+-49304 -49695 -49210 -49737
+-49301 -49643 -49244 -49656
+-49300 -49907 -49242 -49908
+-49295 -49272 -49231 -49194
+-49293 -49026 -49291 -48987
+-49290 -49992 -49244 -49950
+-49287 -49539 -49265 -49542
+-49278 -49142 -49261 -49117
+-49277 -49304 -49216 -49313
+-49272 -49800 -49251 -49769
+-49270 -49894 -49239 -49809
+-49269 -49397 -49196 -49319
+-49268 -49911 -49171 -49902
+-49257 -49050 -49208 -49086
+-49250 -49780 -49178 -49731
+-49239 -49113 -49166 -49120
+-49237 -49247 -49203 -49166
+-49230 -49019 -49194 -49061
+-49217 -49465 -49215 -49528
+-49213 -49605 -49116 -49548
+-49212 -49846 -49211 -49815
+-49209 -49912 -49171 -49955
+-49203 -49685 -49188 -49672
+-49203 -49234 -49147 -49333
+-49201 -49854 -49116 -49916
+-49200 -49087 -49190 -49045
+-49188 -49258 -49133 -49220
+-49179 -49615 -49150 -49581
+-49179 -49568 -49137 -49507
+-49168 -49326 -49114 -49385
+-49164 -50078 -49090 -49990
+-49164 -49498 -49157 -49409
+-49160 -49807 -49085 -49875
+-49158 -49601 -49136 -49624
+-49156 -49015 -49063 -49081
+-49155 -49894 -49135 -49907
+-49150 -49949 -49107 -49930
+-49150 -49143 -49147 -49210
+-49149 -49896 -49076 -49946
+-49147 -49219 -49094 -49155
+-49132 -49474 -49113 -49509
+-49129 -49400 -49052 -49347
+-49114 -49721 -49082 -49630
+-49113 -49663 -49106 -49585
+-49109 -49241 -49091 -49330
+-49107 -49230 -49067 -49179
+-49106 -49585 -49097 -49487
+-49104 -49006 -49077 -49043
+-49083 -49910 -49080 -49941
+-49069 -49028 -49010 -48971
+-49068 -49800 -49050 -49796
+-49045 -49223 -49029 -49273
+-49043 -49598 -48998 -49619
+-49037 -49738 -49031 -49678
+-49037 -49062 -49024 -49129
+-49033 -49407 -49023 -49483
+-49008 -49795 -48973 -49798
+-49003 -49428 -48993 -49376
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_068.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_068.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,98 @@
+0
+87
+-50021 -49808 -49940 -49833
+-50019 -49363 -49964 -49351
+-49963 -49703 -49912 -49721
+-49948 -49289 -49940 -49212
+-49916 -49137 -49870 -49141
+-49906 -49419 -49873 -49349
+-49903 -49328 -49899 -49307
+-49897 -49741 -49852 -49675
+-49895 -49638 -49828 -49568
+-49893 -49251 -49855 -49313
+-49871 -49502 -49801 -49551
+-49866 -49431 -49834 -49524
+-49861 -49122 -49812 -49030
+-49852 -49901 -49814 -49872
+-49815 -49601 -49716 -49652
+-49799 -49916 -49785 -49916
+-49766 -49501 -49745 -49523
+-49765 -49266 -49672 -49282
+-49763 -49207 -49681 -49170
+-49756 -49650 -49744 -49699
+-49748 -49703 -49663 -49657
+-49736 -49581 -49683 -49534
+-49736 -49463 -49700 -49534
+-49732 -49049 -49674 -49119
+-49722 -49992 -49694 -49963
+-49710 -49415 -49648 -49378
+-49710 -49298 -49670 -49339
+-49688 -49985 -49652 -50004
+-49684 -49416 -49634 -49459
+-49659 -49561 -49573 -49550
+-49654 -49211 -49613 -49161
+-49638 -49058 -49576 -49104
+-49624 -49012 -49543 -49051
+-49621 -49341 -49619 -49317
+-49608 -49406 -49593 -49379
+-49599 -49228 -49538 -49293
+-49598 -49634 -49527 -49534
+-49594 -49713 -49523 -49729
+-49586 -49735 -49580 -49724
+-49564 -49184 -49531 -49109
+-49560 -49651 -49528 -49579
+-49552 -49739 -49457 -49829
+-49549 -49938 -49543 -49953
+-49517 -49670 -49480 -49763
+-49508 -49076 -49493 -49008
+-49507 -49467 -49451 -49459
+-49478 -49308 -49439 -49383
+-49477 -48995 -49393 -49025
+-49468 -49237 -49401 -49183
+-49464 -49517 -49393 -49532
+-49453 -49670 -49395 -49751
+-49448 -49430 -49367 -49380
+-49434 -49371 -49403 -49302
+-49422 -49836 -49384 -49882
+-49408 -49095 -49396 -49110
+-49387 -49237 -49366 -49277
+-49368 -49766 -49365 -49777
+-49366 -49860 -49280 -49911
+-49359 -49526 -49355 -49554
+-49352 -49281 -49275 -49187
+-49346 -49424 -49327 -49370
+-49346 -48957 -49257 -49045
+-49344 -49529 -49311 -49595
+-49344 -49131 -49270 -49077
+-49331 -49505 -49276 -49470
+-49275 -49446 -49269 -49529
+-49274 -48994 -49239 -49083
+-49269 -49530 -49266 -49579
+-49268 -49916 -49229 -49923
+-49254 -49830 -49233 -49777
+-49214 -49820 -49168 -49806
+-49214 -49246 -49207 -49200
+-49209 -49470 -49159 -49503
+-49203 -49239 -49121 -49256
+-49186 -49302 -49156 -49306
+-49185 -49612 -49130 -49664
+-49158 -49718 -49100 -49653
+-49155 -49271 -49056 -49347
+-49138 -49437 -49061 -49374
+-49137 -49475 -49136 -49540
+-49126 -49059 -49069 -49056
+-49113 -49751 -49072 -49794
+-49102 -49977 -49024 -49998
+-49070 -49161 -49052 -49212
+-49053 -49902 -49030 -49948
+-49048 -49413 -49004 -49497
+-49021 -49751 -49015 -49668
+-49478.582149386399 -49780.216848801821
+-49394.596858638746 -49830.083115183246
+-49404.712650811380 -49872.695164891658
+-49392.218561523550 -49808.669479018703
+../../SOC_2010/sweepline/libs/sweepline/test/sweepline_test.cpp(703): error in "segment_random_test2<double>": check verify_output(test_output_small, NO_HALF_EDGE_INTERSECTIONS) == true failed [false != true]
+-49478.582149386399 -49780.216848801821
+-49394.596858638746 -49830.083115183246
+-49404.712650811380 -49872.695164891658
+-49392.218561523550 -49808.669479018703
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_069.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_069.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,83 @@
+0
+81
+-50026 -49688 -49978 -49701
+-49998 -49860 -49969 -49782
+-49974 -49744 -49897 -49748
+-49972 -49661 -49971 -49727
+-49971 -49845 -49902 -49789
+-49967 -49338 -49934 -49244
+-49947 -49670 -49896 -49744
+-49939 -49502 -49885 -49564
+-49937 -49150 -49874 -49115
+-49930 -49608 -49885 -49665
+-49925 -48976 -49888 -49019
+-49919 -49430 -49851 -49399
+-49909 -49052 -49908 -49015
+-49902 -49341 -49895 -49344
+-49899 -49717 -49827 -49792
+-49878 -49284 -49790 -49223
+-49844 -49250 -49784 -49171
+-49792 -49805 -49708 -49872
+-49781 -49381 -49727 -49379
+-49772 -49162 -49702 -49126
+-49768 -49290 -49696 -49324
+-49764 -49266 -49705 -49194
+-49737 -49279 -49659 -49200
+-49701 -49846 -49640 -49812
+-49699 -49415 -49670 -49409
+-49694 -49710 -49670 -49623
+-49688 -49732 -49653 -49759
+-49682 -49014 -49675 -49030
+-49679 -49421 -49641 -49428
+-49671 -49124 -49659 -49117
+-49642 -49113 -49599 -49063
+-49639 -49409 -49547 -49439
+-49629 -49070 -49595 -49043
+-49616 -49830 -49532 -49887
+-49616 -49438 -49544 -49519
+-49615 -49093 -49574 -49097
+-49610 -49583 -49587 -49491
+-49608 -49736 -49550 -49812
+-49599 -49403 -49520 -49408
+-49588 -49924 -49576 -49918
+-49579 -50064 -49483 -49994
+-49559 -49800 -49506 -49870
+-49552 -49543 -49534 -49570
+-49541 -49937 -49469 -49920
+-49513 -49782 -49494 -49816
+-49509 -49996 -49472 -49955
+-49509 -49892 -49452 -49796
+-49482 -50051 -49468 -49972
+-49419 -49411 -49371 -49424
+-49411 -49494 -49328 -49567
+-49407 -49584 -49358 -49547
+-49399 -49236 -49341 -49168
+-49370 -49205 -49284 -49121
+-49364 -49032 -49355 -49119
+-49363 -49029 -49302 -49048
+-49340 -49544 -49242 -49472
+-49335 -49800 -49325 -49866
+-49334 -49786 -49282 -49798
+-49323 -49685 -49229 -49765
+-49311 -49777 -49247 -49789
+-49305 -49633 -49283 -49631
+-49300 -49574 -49261 -49601
+-49295 -49245 -49286 -49278
+-49275 -49861 -49223 -49778
+-49261 -49054 -49235 -49029
+-49260 -49355 -49228 -49436
+-49248 -49991 -49198 -49926
+-49236 -49618 -49152 -49637
+-49225 -50042 -49179 -49961
+-49190 -49250 -49108 -49308
+-49189 -49609 -49168 -49578
+-49164 -49936 -49133 -49922
+-49124 -49640 -49057 -49695
+-49117 -49169 -49041 -49213
+-49111 -49802 -49099 -49894
+-49105 -49697 -49053 -49738
+-49082 -49532 -49031 -49559
+-49063 -49321 -49007 -49234
+-49032 -49130 -48987 -49200
+-49025 -49437 -48988 -49427
+-49008 -49119 -48968 -49214
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_070.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_070.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,5 @@
+1
+-49400 -49572
+2
+-49431 -49703 -49427 -49798
+-49427 -49798 -49423 -49892
\ No newline at end of file
Added: sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_071.txt
==============================================================================
--- (empty file)
+++ sandbox/gtl/libs/polygon/voronoi_example/input_data/primary/primary_071.txt 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -0,0 +1,94 @@
+0
+90
+-50051 -49552 -49991 -49625
+-50042 -49515 -49976 -49442
+-50024 -49188 -49996 -49221
+-50007 -49191 -49933 -49159
+-50000 -49509 -49989 -49549
+-49991 -49047 -49950 -49120
+-49984 -49938 -49909 -49904
+-49959 -49631 -49908 -49568
+-49954 -49626 -49887 -49595
+-49949 -49320 -49859 -49414
+-49916 -49188 -49859 -49241
+-49906 -49611 -49830 -49675
+-49905 -49754 -49847 -49843
+-49892 -49327 -49848 -49239
+-49882 -49416 -49872 -49486
+-49871 -49640 -49797 -49703
+-49846 -49283 -49821 -49368
+-49767 -49927 -49707 -49928
+-49765 -49619 -49762 -49671
+-49764 -49476 -49721 -49531
+-49753 -49486 -49691 -49491
+-49738 -49590 -49712 -49679
+-49736 -49108 -49686 -49138
+-49736 -49008 -49671 -48932
+-49724 -49802 -49627 -49770
+-49717 -49691 -49694 -49699
+-49714 -49152 -49708 -49200
+-49707 -49875 -49621 -49790
+-49700 -49062 -49648 -49109
+-49684 -49680 -49611 -49740
+-49654 -49456 -49562 -49400
+-49611 -49270 -49584 -49339
+-49585 -49234 -49567 -49210
+-49578 -49012 -49527 -49080
+-49561 -49658 -49538 -49670
+-49536 -49144 -49445 -49082
+-49523 -49784 -49500 -49868
+-49509 -49742 -49424 -49733
+-49508 -49070 -49472 -49092
+-49490 -49176 -49439 -49082
+-49477 -49856 -49475 -49779
+-49467 -49051 -49446 -49014
+-49462 -49793 -49457 -49818
+-49460 -49642 -49381 -49620
+-49444 -49977 -49349 -50073
+-49444 -49973 -49396 -49915
+-49425 -49114 -49363 -49182
+-49424 -49002 -49351 -49096
+-49400 -49470 -49311 -49557
+-49392 -49631 -49324 -49704
+-49375 -49195 -49281 -49123
+-49361 -49096 -49314 -49143
+-49345 -49402 -49256 -49437
+-49339 -49476 -49298 -49437
+-49324 -49287 -49242 -49273
+-49290 -49579 -49252 -49548
+-49280 -49601 -49217 -49612
+-49268 -49108 -49169 -49112
+-49257 -49481 -49241 -49480
+-49248 -49521 -49233 -49580
+-49246 -49802 -49245 -49893
+-49236 -49292 -49205 -49336
+-49220 -49157 -49210 -49143
+-49209 -49367 -49171 -49405
+-49205 -49883 -49176 -49926
+-49204 -49128 -49131 -49099
+-49200 -49252 -49128 -49166
+-49194 -49507 -49189 -49496
+-49185 -49344 -49140 -49354
+-49183 -49895 -49144 -49867
+-49183 -49289 -49135 -49213
+-49177 -49192 -49168 -49158
+-49140 -49876 -49120 -49924
+-49140 -49855 -49116 -49874
+-49138 -49132 -49081 -49142
+-49127 -49293 -49090 -49363
+-49096 -49761 -49037 -49744
+-49096 -49101 -49081 -49093
+-49090 -49308 -49083 -49401
+-49086 -49605 -49074 -49539
+-49084 -49865 -49059 -49795
+-49084 -49124 -48989 -49171
+-49077 -49034 -49067 -49009
+-49069 -49979 -49067 -49965
+-49063 -49317 -49050 -49248
+-49036 -49851 -49002 -49942
+-49032 -49126 -49003 -49097
+-49025 -49181 -48951 -49179
+-49022 -49065 -48973 -49118
+-49018 -49876 -48988 -49875
+../../SOC_2010/sweepline/libs/sweepline/test/sweepline_test.cpp(723): error in "segment_random_test2<double>": check test_output_small.num_vertex_records() == test_output_large.num_vertex_records() failed [476 != 526]
+../../SOC_2010/sweepline/libs/sweepline/test/sweepline_test.cpp(725): error in "segment_random_test2<double>": check test_output_small.num_edge_records() == test_output_large.num_edge_records() failed [734 != 795]
Deleted: sandbox/gtl/libs/polygon/voronoi_example/output_data/failure/failure_001.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/polygon/polygon_11.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/polygon/polygon_12.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_049.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_050.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_051.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_052.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_053.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_054.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_055.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_056.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_057.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_058.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_059.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_060.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_061.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_062.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_063.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_064.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_065.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_066.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_067.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_068.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_069.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_070.png
==============================================================================
Binary file. No diff available.
Added: sandbox/gtl/libs/polygon/voronoi_example/output_data/primary/primary_071.png
==============================================================================
Binary file. No diff available.
Modified: sandbox/gtl/libs/polygon/voronoi_example/voronoi_visualizer.cpp
==============================================================================
--- sandbox/gtl/libs/polygon/voronoi_example/voronoi_visualizer.cpp (original)
+++ sandbox/gtl/libs/polygon/voronoi_example/voronoi_visualizer.cpp 2011-12-25 14:33:14 EST (Sun, 25 Dec 2011)
@@ -1,6 +1,6 @@
-// Boost sweepline library voronoi_visualizer.cpp file
+// Boost.Polygon library voronoi_visualizer.cpp file
-// Copyright Andrii Sydorchuk 2010.
+// Copyright Andrii Sydorchuk 2010-2011.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
@@ -127,7 +127,8 @@
if (!it->is_primary() && primary_edges_only_)
continue;
std::vector<opoint_type> temp_v =
- voronoi_helper<coordinate_type>::get_point_interpolation(&(*it), brect_, 1E-3);
+ voronoi_helper<coordinate_type>::get_point_interpolation(
+ &(*it), brect_, 1E-3);
for (int i = 0; i < static_cast<int>(temp_v.size()) - 1; i++) {
glVertex2f(temp_v[i].x(), temp_v[i].y());
glVertex2f(temp_v[i+1].x(), temp_v[i+1].y());
@@ -150,7 +151,9 @@
void update_view_port() {
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
- glOrtho(brect_.x_min(), brect_.x_max(), brect_.y_min(), brect_.y_max(), -1.0, 1.0);
+ glOrtho(brect_.x_min(), brect_.x_max(),
+ brect_.y_min(), brect_.y_max(),
+ -1.0, 1.0);
glMatrixMode(GL_MODELVIEW);
}
@@ -160,9 +163,12 @@
typedef directed_line_segment_data<int> isegment_type;
typedef std::vector<ipoint_type> ipoint_set_type;
typedef directed_line_segment_set_data<int> isegment_set_type;
- typedef voronoi_diagram<coordinate_type>::voronoi_cells_type voronoi_cells_type;
- typedef voronoi_diagram<coordinate_type>::voronoi_vertices_type voronoi_vertices_type;
- typedef voronoi_diagram<coordinate_type>::voronoi_edges_type voronoi_edges_type;
+ typedef voronoi_diagram<coordinate_type>::voronoi_cells_type
+ voronoi_cells_type;
+ typedef voronoi_diagram<coordinate_type>::voronoi_vertices_type
+ voronoi_vertices_type;
+ typedef voronoi_diagram<coordinate_type>::voronoi_edges_type
+ voronoi_edges_type;
typedef voronoi_diagram<coordinate_type>::voronoi_cell_const_iterator_type
voronoi_cell_const_iterator_type;
typedef voronoi_diagram<coordinate_type>::voronoi_vertex_const_iterator_type
@@ -189,7 +195,7 @@
update_file_list();
setWindowTitle(tr("Voronoi Visualizer"));
- layout()->setSizeConstraint( QLayout::SetFixedSize );
+ layout()->setSizeConstraint(QLayout::SetFixedSize);
}
private slots:
@@ -198,8 +204,8 @@
}
void browse() {
- QString new_path = QFileDialog::getExistingDirectory(0, tr("Choose Directory"),
- file_dir_.absolutePath());
+ QString new_path = QFileDialog::getExistingDirectory(
+ 0, tr("Choose Directory"), file_dir_.absolutePath());
if (new_path.isEmpty())
return;
file_dir_.setPath(new_path);
@@ -211,7 +217,8 @@
QString file_path = file_dir_.filePath(file_name_);
message_label_->setText("Building...");
glWidget_->build(file_path);
- message_label_->setText("Double click the item to build voronoi diagram:");
+ message_label_->setText(
+ "Double click the item to build voronoi diagram:");
setWindowTitle(tr("Voronoi Visualizer - ") + file_path);
}
@@ -228,16 +235,22 @@
QGridLayout *create_file_layout() {
QGridLayout *file_layout = new QGridLayout;
- message_label_ = new QLabel("Double click item to build voronoi diagram:");
+ message_label_ = new QLabel(
+ "Double click item to build voronoi diagram:");
file_list_ = new QListWidget();
- file_list_->connect(file_list_, SIGNAL(itemDoubleClicked(QListWidgetItem*)),
- this, SLOT(build()));
+ file_list_->connect(file_list_,
+ SIGNAL(itemDoubleClicked(QListWidgetItem*)),
+ this,
+ SLOT(build()));
+
+ QCheckBox *primary_checkbox = new QCheckBox(
+ "Show primary edges only.");
+ connect(primary_checkbox, SIGNAL(clicked()),
+ this, SLOT(primary_edges_only()));
- QCheckBox *primary_checkbox = new QCheckBox("Show primary edges only.");
- connect(primary_checkbox, SIGNAL(clicked()), this, SLOT(primary_edges_only()));
-
- QPushButton *browse_button = new QPushButton(tr("Browse Input Directory"));
+ QPushButton *browse_button =
+ new QPushButton(tr("Browse Input Directory"));
connect(browse_button, SIGNAL(clicked()), this, SLOT(browse()));
browse_button->setMinimumHeight(50);
@@ -259,7 +272,6 @@
file_list_->clear();
if (file_dir_.count() == 0)
return;
-
QFileInfoList::const_iterator it;
for (it = list.begin(); it != list.end(); it++)
file_list_->addItem(it->fileName());
@@ -273,8 +285,7 @@
QLabel *message_label_;
};
-int main(int argc, char *argv[])
-{
+int main(int argc, char *argv[]) {
QApplication app(argc, argv);
MainWindow window;
window.show();
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk