[buffer] Classify turn-points using rescaled rings

This makes side_on_convex_range and intersection_side redundant
It fixes all but one (p20) remaining cases for polygons
This commit is contained in:
Barend Gehrels
2014-06-07 12:38:02 +02:00
parent 7cdbcf5fee
commit 8a417e6fa9
5 changed files with 170 additions and 147 deletions

View File

@@ -267,9 +267,7 @@ void test_all()
test_one<multi_polygon_type, buf::join_miter, buf::end_skip, polygon_type>("wrapped_05", wrapped, 105.000, 0.5);
test_one<multi_polygon_type, buf::join_round, buf::end_skip, polygon_type>("wrapped_10", wrapped, 142.281, 1.0);
test_one<multi_polygon_type, buf::join_miter, buf::end_skip, polygon_type>("wrapped_10", wrapped, 144.000, 1.0);
#if defined(BOOST_GEOMETRY_BUFFER_INCLUDE_FAILING_TESTS)
test_one<multi_polygon_type, buf::join_round, buf::end_skip, polygon_type>("wrapped_15", wrapped, 167.066, 1.5);
#endif
test_one<multi_polygon_type, buf::join_miter, buf::end_skip, polygon_type>("wrapped_15", wrapped, 169.000, 1.5);
// TODO: there is still an undetected hole inside rt_a