diff --git a/Visibility_2/test/Visibility_2/data/test_simple_polygon_2.dat b/Visibility_2/test/Visibility_2/data/test_simple_polygon_2.dat new file mode 100644 index 00000000000..05c4453be9f --- /dev/null +++ b/Visibility_2/test/Visibility_2/data/test_simple_polygon_2.dat @@ -0,0 +1,17 @@ +# Test case 2 for simple polygons. See https://cgal.geometryfactory.com/CGAL/Members/wiki/Visibility/TestCases +1 3 +1 3 + +0 +4 +0 0 4 4 +4 4 8 4 +8 4 0 8 +0 8 0 0 + +0 +4 +0 0 4 4 +4 4 6.4 4.8 +6.4 4.8 0 8 +0 8 0 0 diff --git a/Visibility_2/test/Visibility_2/data/test_simple_polygon_3.dat b/Visibility_2/test/Visibility_2/data/test_simple_polygon_3.dat new file mode 100644 index 00000000000..932b304cb08 --- /dev/null +++ b/Visibility_2/test/Visibility_2/data/test_simple_polygon_3.dat @@ -0,0 +1,26 @@ +# Test case 3 for simple polygons. See https://cgal.geometryfactory.com/CGAL/Members/wiki/Visibility/TestCases +2 2 +2 2 + +0 +8 +0 0 13 0 +13 0 13 4 +13 4 11 2 +11 2 9 4 +9 4 7 2 +7 2 4 2 +4 2 0 5 +0 5 0 0 + +0 +7 +0 0 13 0 +13 0 13 2 +13 2 11 2 +11 2 7 2 +7 2 4 2 +4 2 0 5 +0 5 0 0 + + diff --git a/Visibility_2/test/Visibility_2/data/test_simple_polygon_4.dat b/Visibility_2/test/Visibility_2/data/test_simple_polygon_4.dat new file mode 100644 index 00000000000..2f1f05e8452 --- /dev/null +++ b/Visibility_2/test/Visibility_2/data/test_simple_polygon_4.dat @@ -0,0 +1,42 @@ +# Test case 4 for simple polygons. See https://cgal.geometryfactory.com/CGAL/Members/wiki/Visibility/TestCases +6 4 +6 4 + +0 +18 +0 0 3 2 +3 2 5 1 +5 1 8 1 +8 1 16 2 +16 2 16 5 +16 5 14 4 +14 4 12 7 +12 7 10 4 +10 4 8 4 +8 4 10 8 +10 8 9 10 +9 10 8 8 +8 8 6 8 +6 8 7 6 +7 6 1 6 +1 6 4 8 +4 8 0 9 +0 9 0 0 + +0 +15 +0 0 3 2 +3 2 5 1 +5 1 8 1 +8 1 16 2 +16 2 16 4 +16 4 14 4 +14 4 10 4 +10 4 8 4 +8 4 10 8 +10 8 9 10 +9 10 8 8 +8 8 7 6 +7 6 1 6 +1 6 0 6.4 +0 6.4 0 0 diff --git a/Visibility_2/test/Visibility_2/data/test_simple_polygon_5.dat b/Visibility_2/test/Visibility_2/data/test_simple_polygon_5.dat new file mode 100644 index 00000000000..114390d664d --- /dev/null +++ b/Visibility_2/test/Visibility_2/data/test_simple_polygon_5.dat @@ -0,0 +1,37 @@ +# Test case 5 for simple polygons. See https://cgal.geometryfactory.com/CGAL/Members/wiki/Visibility/TestCases +5 2 +5 2 + +0 +20 +0 0 12 0 +12 0 12 2 +12 2 9 2 +9 2 9 4 +9 4 16 4 +16 4 16 0 +16 0 20 0 +20 0 20 12 +20 12 0 12 +0 12 0 8 +0 8 15 8 +15 8 15 9 +15 9 1 9 +1 9 1 11 +1 11 19 11 +19 11 19 1 +19 1 17 1 +17 1 17 6 +17 6 0 6 +0 6 0 0 + +0 +7 +0 0 12 0 +12 0 12 2 +12 2 9 2 +9 2 9 4 +9 4 13 6 +13 6 0 6 +0 6 0 0 +