[Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result
- Next message: Boost C++ Libraries: "[Boost-bugs] [Boost C++ Libraries] #6020: Area won't compile on intel icc/windows"
- Previous message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6018: Add touch() and create_file() functions"
- Next in thread: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
#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.
- Next message: Boost C++ Libraries: "[Boost-bugs] [Boost C++ Libraries] #6020: Area won't compile on intel icc/windows"
- Previous message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6018: Add touch() and create_file() functions"
- Next in thread: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6019: Convex hull and Area, combined, sometimes give wrong result"
This archive was generated by hypermail 2.1.7
: 2017-02-16 18:50:07 UTC