bg::strategy::buffer::end_flat end_flat;
bg::strategy::buffer::end_round end_round(100);
- double const tolerance = 1.0e-10;
-
// Aimes tested originally with 0.000018 degrees (around 2 m)
- std::size_t self_ip_count = 0;
+ ut_settings settings(1.0e-10);
int expectation_index = 0;
for (int width = 18; width <= 36; width += 18, expectation_index += 2)
(
name.str(), testcases[i], join_miter, end_flat,
expectations[i][expectation_index],
- aimes_width, aimes_width,
- self_ip_count, tolerance
+ aimes_width, settings
);
test_one<linestring, polygon>
(
name.str(), testcases[i], join_round, end_round,
expectations[i][expectation_index + 1],
- aimes_width, aimes_width,
- self_ip_count, tolerance
+ aimes_width, settings
);
}
catch(std::exception const& e)
}
}
}
-
- BOOST_CHECK_MESSAGE
- (
- self_ip_count == 0,
- "There are self-intersections: " << self_ip_count
- );
}