[Boost-bugs] [Boost C++ Libraries] #9988: boost::geometry::intersection returns opposite of intersection

Subject: [Boost-bugs] [Boost C++ Libraries] #9988: boost::geometry::intersection returns opposite of intersection
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-01 21:52:05


#9988: boost::geometry::intersection returns opposite of intersection
------------------------------+---------------------------
 Reporter: ajoseph4@… | Owner: barendgehrels
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: intersection |
------------------------------+---------------------------
 For some geometries boost intersection returns a geometry that is the
 opposite (the geometric difference) of the intersection. Here is an
 exampl.
 Geometry 1:
 POLYGON((-84.5922 35.9063, -84.5924 35.9064, -84.5929 35.9062, -84.5926
 35.9057, -84.5927 35.9056, -84.5926 35.9054, -84.5915 35.9058, -84.5915
 35.906, -84.5918 35.9065, -84.5922 35.9063))
 Geometry 2:
 POLYGON((-84.5932 35.9051, -84.5932 35.906, -84.5921 35.906, -84.5921
 35.9051, -84.5932 35.9051))
 Output:
 POLYGON((-84.5928 35.906, -84.5926 35.9057,-84.5927 35.9056, -84.5926
 35.9054, -84.5921 35.9056, -84.5921 35.9051, -84.5932 35.9051, -84.5932
 35.906, -84.5928 35.906))
 Correct Output:
 POLYGON ((-84.5921 35.905581818181815, -84.5926 35.9054, -84.5927 35.9056,
 -84.5926 35.9057, -84.59278 35.906, -84.5921 35.906, -84.5921
 35.905581818181815))

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9988>
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:16 UTC