[Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result

Subject: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-13 14:46:13


#6019: Convex hull and Area, combined, sometimes give wrong result
------------------------------------------------+---------------------------
 Reporter: Crispin Cooper <cooperch@…> | Owner: barendgehrels
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: convex hull area |
------------------------------------------------+---------------------------
 Attached is a program which calculates convex hull from a number of
 points. The three points actually on the hull are

 (0,0)
 (0,105)
 (0,103)

 making the hull a triangle with area 1407.5. However, the program (msvc
 compiler) returns 1406, with the points inserted in the order shown in the
 cpp file.

 If all points except the three listed above are removed from the program,
 the answer returns to 1407.5.

 Probably this is just me being stupid. In any case thank you very much
 for your help!

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