[Boost-bugs] [Boost C++ Libraries] #10866: union_ doesn't work in 1.56 and 1.57

Subject: [Boost-bugs] [Boost C++ Libraries] #10866: union_ doesn't work in 1.56 and 1.57
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-11 11:27:11


#10866: union_ doesn't work in 1.56 and 1.57
------------------------------+---------------------------
 Reporter: apl@… | Owner: barendgehrels
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
  Version: Boost 1.57.0 | Severity: Showstopper
 Keywords: |
------------------------------+---------------------------
 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

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10866>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC