[Boost-bugs] [Boost C++ Libraries] #8419: boost::geometry::intersection still broken with integer coordinates

Subject: [Boost-bugs] [Boost C++ Libraries] #8419: boost::geometry::intersection still broken with integer coordinates
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-08 17:41:02


#8419: boost::geometry::intersection still broken with integer coordinates
------------------------------+---------------------------------------------
 Reporter: aar@… | Owner: barendgehrels
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 When loading these geometries as integer coordinates, their intersection
 is equal to the input multilinestring, which is wrong because the line
 should be clipped to the polygon boundaries instead of being left
 untouched.

   POLYGON((500000 853554,146445 500000,500000 146445,853554 500000))
   MULTILINESTRING((163696 853553,163696 146446))

 If I scale these input coordinates down by 1/1000, the result is correct.
 Also, no issues when loading the same input as double coordinates.

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