[geometry] revised solution for robustness, we don't go to integer which was shortly done. This is partly a revert of r85867, where we scaled to integer. Now we make side information consistent by iteratively selecting a larger epsilon. This will be moved into a separate class. All tests pass now, also the complete ticket_9081 test which failed before

[SVN r86368]
This commit is contained in:
Barend Gehrels
2013-10-20 15:30:21 +00:00
parent 8ea1f1000b
commit 3a6ae0bacb
12 changed files with 547 additions and 211 deletions

View File

@@ -201,8 +201,8 @@ int test_main(int, char* [])
//test_all<bg::model::point<float, 2, bg::cs::cartesian> >();
test_all<bg::model::point<double, 2, bg::cs::cartesian> >();
#ifdef NDEBUG
// only in release mode
#ifdef BOOST_GEOMETRY_BUFFER_TEST_GROWTH
for (int i = 5; i <= 50; i++)
{
test_growth<bg::model::point<double, 2, bg::cs::cartesian> >(i, 20);