diff --git a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/compare_y_at_x b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/compare_y_at_x index 77f67a57397..21ab0e9d5e2 100644 --- a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/compare_y_at_x +++ b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/compare_y_at_x @@ -1,53 +1,3 @@ -#----------------------------------------------------------- -# Data block -#----------------------------------------------------------- -# Number of points -#----------------------------------------------------------- -22 -0/1 0/1 -0/1 1/1 -0/1 2/1 -0/1 3/1 -0/1 4/1 -0/1 5/1 -0/1 6/1 -# -0/1 -1/1 -0/1 0/1 -0/1 1/1 -1/1 0/1 -1/1 1/1 -1/1 2/1 -2/1 1/1 -2/1 2/1 -2/1 3/1 -3/1 2/1 -3/1 3/1 -3/1 4/1 -4/1 3/1 -4/1 4/1 -4/1 5/1 -#----------------------------------------------------------- -# Number of x-monotone curves -#----------------------------------------------------------- -9 -4 0/1 0/1 0/1 2/1 0/1 4/1 0/1 6/1 -3 0/1 0/1 2/1 2/1 4/1 4/1 -# -2 0/1 0/1 2/1 0/1 -2 -1/1 1/1 1/1 1/1 -2 -2/1 2/1 0/1 2/1 -2 -1/1 3/1 1/1 3/1 -2 0/1 4/1 2/1 4/1 -2 -1/1 5/1 1/1 5/1 -2 -2/1 6/1 0/1 6/1 -#----------------------------------------------------------- -# Number of curves -#----------------------------------------------------------- -0 -#----------------------------------------------------------- -# Execution block -#----------------------------------------------------------- compare_y_at_x 0 0 EQUAL compare_y_at_x 1 0 EQUAL compare_y_at_x 2 0 EQUAL diff --git a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/errors b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/errors index a5d7a8c84c4..281907bd2c0 100644 --- a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/errors +++ b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/errors @@ -1,32 +1,3 @@ -#----------------------------------------------------------- -# Data block -#----------------------------------------------------------- -# Number of points -#----------------------------------------------------------- -4 --1 0 -1 0 -0 0 -1 1 -#----------------------------------------------------------- -# Number of xcurves -#----------------------------------------------------------- -8 -2 0 0 1 0 -2 0 0 -1 0 -2 0 0 0 1 -2 0 0 0 -1 -2 -1 1 1 1 -2 1 -1 1 1 -2 1/2 0 1 0 -2 0 1/2 0 1 -#----------------------------------------------------------- -# Number of curves -#----------------------------------------------------------- -0 -#----------------------------------------------------------- -# Execution block -#----------------------------------------------------------- # precondition is expected because the point is not in the x-curve x range compare_y_at_x_precondition 0 0 EQUAL # precondition is expected because the point is not in the x-curve x range diff --git a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/intersect b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/intersect index 64438ddd07c..3d26f09f324 100644 --- a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/intersect +++ b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/intersect @@ -1,43 +1,3 @@ -#----------------------------------------------------------- -# Data block -#----------------------------------------------------------- -# Number of points -#----------------------------------------------------------- -5 -1/1 1/1 -2/1 1/1 -3/1 1/1 -0/1 0/1 -0/1 2/1 -#----------------------------------------------------------- -# Number of xcurves -#----------------------------------------------------------- -16 -2 0/1 0/1 1/1 1/1 -2 0/1 2/1 1/1 1/1 -2 1/1 1/1 2/1 2/1 -2 1/1 1/1 2/1 0/1 -# -3 0/1 0/1 1/1 1/1 2/1 2/1 -3 0/1 0/1 1/1 1/1 2/1 0/1 -3 0/1 2/1 1/1 1/1 2/1 2/1 -3 0/1 2/1 1/1 1/1 2/1 0/1 -# -3 0/1 0/1 2/1 2/1 4/1 0/1 -3 0/1 2/1 2/1 0/1 4/1 2/1 -5 0/1 0/1 1/1 1/1 2/1 0/1 3/1 1/1 4/1 0/1 -2 0/1 0/1 1/1 1/1 -2 3/1 1/1 4/1 0/1 -5 0/1 2/1 1/1 1/1 2/1 2/1 3/1 1/1 4/1 2/1 -3 1/1 1/1 2/1 2/1 3/1 1/1 -2 0/1 0/1 0/1 2/1 -#----------------------------------------------------------- -# Number of curves -#----------------------------------------------------------- -0 -#----------------------------------------------------------- -# Execution block -#----------------------------------------------------------- intersect 0 1 1 0 0 0 intersect 1 0 1 0 0 0 intersect 0 2 1 0 0 0 diff --git a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/is_vertical b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/is_vertical index 62aa4f0cc01..312790a59a8 100644 --- a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/is_vertical +++ b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/is_vertical @@ -1,23 +1,3 @@ -#----------------------------------------------------------- -# Data block -#----------------------------------------------------------- -# Number of points -#----------------------------------------------------------- -0 -#----------------------------------------------------------- -# Number of xcurves -#----------------------------------------------------------- -3 -3 0/1 0/1 1/1 0/1 2/1 0/1 -2 0/1 0/1 0/1 1/1 -3 0/1 0/1 0/1 1/1 0/1 2/1 -#----------------------------------------------------------- -# Number of curves -#----------------------------------------------------------- -0 -#----------------------------------------------------------- -# Execution block -#----------------------------------------------------------- -is_vertical 0 FALSE +is_vertical 0 FALSE is_vertical 1 TRUE is_vertical 2 TRUE diff --git a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/make_x_monotone b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/make_x_monotone index 713b5bb92ce..2635fb7d57e 100644 --- a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/make_x_monotone +++ b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/make_x_monotone @@ -1,47 +1,3 @@ -#----------------------------------------------------------- -# Data block -#----------------------------------------------------------- -# Number of points -#----------------------------------------------------------- -0 -#----------------------------------------------------------- -# Number of x-monotone curves -#----------------------------------------------------------- -20 -3 0/1 0/1 0/1 1/1 0/1 2/1 -2 0/1 0/1 1/1 1/1 -2 1/1 1/1 0/1 2/1 -2 0/1 2/1 1/1 2/1 -3 1/1 2/1 1/1 1/1 1/1 0/1 -3 0/1 0/1 2/1 2/1 4/1 2/1 -3 4/1 2/1 3/1 1/1 0/1 1/1 -3 0/1 0/1 3/1 6/1 6/1 0/1 -2 6/1 0/1 0/1 4/1 -2 0/1 4/1 6/1 4/1 -2 0/1 0/1 1/1 1/1 -2 0/1 0/1 3/1 0/1 -2 3/1 0/1 3/1 3/1 -2 3/1 3/1 1/1 3/1 -2 1/1 3/1 1/1 1/1 -2 1/1 1/1 4/1 1/1 -2 4/1 1/1 4/1 5/1 -2 4/1 5/1 2/1 5/1 -2 2/1 5/1 2/1 3/1 -2 2/1 3/1 5/1 3/1 -#----------------------------------------------------------- -# Number of curves -#----------------------------------------------------------- -7 -3 0/1 0/1 0/1 1/1 0/1 2/1 -3 0/1 0/1 1/1 1/1 0/1 2/1 -6 0/1 0/1 0/1 1/1 0/1 2/1 1/1 2/1 1/1 1/1 1/1 0/1 -5 0/1 0/1 2/1 2/1 4/1 2/1 3/1 1/1 0/1 1/1 -5 0/1 0/1 3/1 6/1 6/1 0/1 0/1 4/1 6/1 4/1 -2 0/1 0/1 1/1 1/1 -10 0/1 0/1 3/1 0/1 3/1 3/1 1/1 3/1 1/1 1/1 4/1 1/1 4/1 5/1 2/1 5/1 2/1 3/1 5/1 3/1 -#----------------------------------------------------------- -# Execution block -#----------------------------------------------------------- make_x_monotone 0 1 1 0 make_x_monotone 1 2 1 1 1 2 make_x_monotone 2 3 1 0 1 3 1 4 diff --git a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/merge b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/merge index 9d262c6a859..d0c64628742 100644 --- a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/merge +++ b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/merge @@ -1,30 +1,3 @@ -#----------------------------------------------------------- -# Data block -#----------------------------------------------------------- -# Number of points -#----------------------------------------------------------- -0 -#----------------------------------------------------------- -# Number of xcurves -#----------------------------------------------------------- -10 -2 0/1 0/1 1/1 0/1 -2 1/1 0/1 2/1 0/1 -2 1/1 0/1 1/1 1/1 -2 0/1 0/1 2/1 0/1 -2 0/1 0/1 0/1 1/1 -2 0/1 1/1 0/1 2/1 -2 0/1 1/1 2/1 0/1 -2 0/1 0/1 0/1 2/1 -2 1/1 0/1 2/1 1/1 -3 0/1 0/1 1/1 0/1 2/1 1/1 -#----------------------------------------------------------- -# Number of xcurves -#----------------------------------------------------------- -0 -#----------------------------------------------------------- -# Execution block -#----------------------------------------------------------- are_mergeable 0 0 FALSE are_mergeable 0 2 FALSE are_mergeable 0 1 TRUE diff --git a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/split b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/split index 5344688fad4..a343b86e2a2 100644 --- a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/split +++ b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/split @@ -1,27 +1,3 @@ -#----------------------------------------------------------- -# Data block -#----------------------------------------------------------- -# Number of points -#----------------------------------------------------------- -2 -0/1 0/1 -5/1 0/1 -#----------------------------------------------------------- -# Number of x-monotone curves -#----------------------------------------------------------- -5 -3 -10/1 0/1 0/1 0/1 10/1 0/1 -2 0/1 0/1 -10/1 0/1 -2 10/1 0/1 0/1 0/1 -3 -10/1 0/1 0/1 0/1 5/1 0/1 -2 5/1 0/1 10/1 0/1 -#----------------------------------------------------------- -# Number of curves -#----------------------------------------------------------- -0 -#----------------------------------------------------------- -# Execution block -#----------------------------------------------------------- split 0 0 1 2 split 0 1 3 4 diff --git a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/vertex b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/vertex index a615cfb2f1a..560d97a49bc 100644 --- a/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/vertex +++ b/Arrangement_on_surface_2/test/Arrangement_on_surface_2/data/polylines/vertex @@ -1,22 +1,2 @@ -#----------------------------------------------------------- -# Data block -#----------------------------------------------------------- -# Number of points -#----------------------------------------------------------- -2 -0/1 0/1 -2/1 0/1 -#----------------------------------------------------------- -# Number of xcurves -#----------------------------------------------------------- -1 -3 0/1 0/1 1/1 0/1 2/1 0/1 -#----------------------------------------------------------- -# Number of curves -#----------------------------------------------------------- -0 -#----------------------------------------------------------- -# Execution block -#----------------------------------------------------------- min_vertex 0 0 max_vertex 0 1