mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-09 23:22:10 +00:00
Merged updates for (small) changes for views/ranges/iterators (r71711 through r71812)
[SVN r71815]
This commit is contained in:
@@ -33,8 +33,13 @@ void test_all()
|
||||
test_geometry<P, bg::model::polygon<P> >("POINT(2 2)",
|
||||
"POLYGON((0 0,0 4,4 4,4 0,0 0),(1 1,3 1,3 3,1 3,1 1))", false);
|
||||
|
||||
typedef bg::model::box<P> box_type;
|
||||
|
||||
test_geometry<P, box_type>("POINT(1 1)", "BOX(0 0,2 2)", true);
|
||||
|
||||
test_geometry<box_type, box_type>("BOX(1 1,2 2)", "BOX(0 0,3 3)", true);
|
||||
test_geometry<box_type, box_type>("BOX(0 0,3 3)", "BOX(1 1,2 2)", false);
|
||||
|
||||
test_geometry<P, bg::model::box<P> >("POINT(1 1)", "BOX(0 0,2 2)", true);
|
||||
|
||||
// Mixed point types
|
||||
test_geometry
|
||||
@@ -45,7 +50,7 @@ void test_all()
|
||||
|
||||
|
||||
// Real-life problem (solved now), point is in the middle, 409623 is also a coordinate
|
||||
// on the border, it was wrong first.
|
||||
// on the border, has been wrong in the past (2009)
|
||||
test_ring<P>("POINT(146383 409623)",
|
||||
"POLYGON((146351 410597,146521 410659,147906 410363,148088 410420"
|
||||
",148175 410296,148281 409750,148215 409623,148154 409666,148154 409666"
|
||||
|
||||
Reference in New Issue
Block a user