Opened 8 years ago
Closed 7 years ago
#10866 closed Bugs (fixed)
union_ doesn't work in 1.56 and 1.57
Reported by: | Owned by: | Barend Gehrels | |
---|---|---|---|
Milestone: | Boost 1.61.0 | Component: | geometry |
Version: | Boost 1.57.0 | Severity: | Showstopper |
Keywords: | Cc: |
Description
In 1.55 union_ merge two polygons but in 1.56 and 1.57 doesn't. I use long double as a coordinate.
Take a look at the following testcase:
boost::geometry::union_(MergedPoly, gpolygon, Result); printf("result count = %d\n", Result.size() );
Merged Polygon: x = 8126 y = 3.18455e+07 x = 8127 y = 3.18455e+07 x = 8129 y = 3.18455e+07 x = 8130 y = 3.18455e+07 x = 8130 y = -146305 x = 8129 y = -146306 x = 8127 y = -146306 x = 8126 y = -146305 x = 8126 y = 3.18455e+07 Polygon: x = 5.12064e+07 y = -146302 x = 5.12064e+07 y = -146303 x = 5.12064e+07 y = -146305 x = 5.12064e+07 y = -146306 x = 8127 y = -146306 x = 8126 y = -146305 x = 8126 y = -146303 x = 8127 y = -146302 x = 5.12064e+07 y = -146302 POLYGON((8126 3.18455e+07,8127 3.18455e+07,8129 3.18455e+07,8130 3.18455e+07,8130 -146305,8129 -146306,8127 -146306,8126 -146305,8126 3.18455e+07)) POLYGON((5.12064e+07 -146302,5.12064e+07 -146303,5.12064e+07 -146305,5.12064e+07 -146306,8127 -146306,8126 -146305,8126 -146303,8127 -146302,5.12064e+07 -146302))
result count = 2
Change History (1)
comment:1 by , 7 years ago
Milestone: | To Be Determined → Boost 1.61.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Thanks for the report, it is fixed in 1.61