mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-12 12:12:10 +00:00
fixed error in collect_vectors - vectors previously gathered for other rings were removed based on the direction of the last vector of currently analysed ring
This commit is contained in:
@@ -98,6 +98,9 @@ void test_all()
|
||||
// Is this equal? To be decided.
|
||||
//test_geometry<linestring, linestring>("ls1", "LINESTRING(1 1,2 2)", "LINESTRING(2 2,1 1)", true);
|
||||
|
||||
test_geometry<polygon, polygon>("poly_holes_shifted_points",
|
||||
"POLYGON((0 0,0 3,3 3,3 0,0 0),(1 1,2 1,2 2,1 2,1 1))",
|
||||
"POLYGON((0 0,0 3,3 3,3 0,0 0),(2 2,1 2,1 1,2 1,2 2))", true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user