mirror of
https://github.com/boostorg/geometry.git
synced 2026-01-24 18:02:17 +00:00
[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:
@@ -258,24 +258,19 @@ void test_all()
|
||||
1, 0, 13);
|
||||
***/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef TEST_ISOVIST
|
||||
test_one<polygon, polygon, polygon>("isovist",
|
||||
isovist1[0], isovist1[1],
|
||||
if_typed_tt<ct>(4, 2), 0, 0.279121891701124,
|
||||
if_typed_tt<ct>(4, 3), 0, if_typed_tt<ct>(224.889211358929, 223.777),
|
||||
if_typed_tt<ct>(0.001, 0.2));
|
||||
if_typed_tt<ct>(4, 2), -1, 0.279121,
|
||||
4, -1, 224.8892,
|
||||
if_typed_tt<ct>(0.001, 0.1));
|
||||
|
||||
// SQL Server gives: 0.279121891701124 and 224.889211358929
|
||||
// PostGIS gives: 0.279121991127244 and 224.889205853156
|
||||
|
||||
#endif
|
||||
|
||||
test_one<polygon, polygon, polygon>("ggl_list_20110306_javier",
|
||||
ggl_list_20110306_javier[0], ggl_list_20110306_javier[1],
|
||||
1, -1, 71495.3331,
|
||||
2, -1, 8960.49049);
|
||||
#endif
|
||||
|
||||
test_one<polygon, polygon, polygon>("ggl_list_20110307_javier",
|
||||
ggl_list_20110307_javier[0], ggl_list_20110307_javier[1],
|
||||
|
||||
Reference in New Issue
Block a user