[Boost-bugs] [Boost C++ Libraries] #10195: Silent Failure for boost::geometry::intersection()

Subject: [Boost-bugs] [Boost C++ Libraries] #10195: Silent Failure for boost::geometry::intersection()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-14 19:08:42

#10195: Silent Failure for boost::geometry::intersection()
 Reporter: anonymous | Owner: barendgehrels
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
 I am performing intersections between polygons, with points represented
 using 64-bit integer coordinates. If I use signed ints (int64_t), the
 intersection operations are correct. If I use unsigned ints (uint64_t),
 the returned intersection polygon collection is simply one of the two
 polygons I originally handed in.

 The underlying intersection algorithm must require signed information, but
 this fact is not communicated to users. As a result, the output of
 unsigned int operations can appear nonsensical. Added documentation is
 appreciated. Adding an actual exception when attempting to do unsigned-
 int-based intersections would be even better.

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