Re: [Boost-bugs] [Boost C++ Libraries] #6443: Convex hull does not cover polygon with zero area

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6443: Convex hull does not cover polygon with zero area
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-03 10:26:51


#6443: Convex hull does not cover polygon with zero area
--------------------------------+-------------------------------------------
  Reporter: cooperch@… | Owner: barendgehrels
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.47.0 | Severity: Showstopper
Resolution: | Keywords:
--------------------------------+-------------------------------------------

Comment (by Sarat Chandra Addepalli <s.addepalli@…>):

 Hi. This seems to me to be more of a question on convention followed, than
 a bug. If a point set S has only two elements (p1 and p2, say) Should the
 Convex_hull(S) have two edges or one? One edge would mean that the
 Convex_hull is not a 'closed' polygon. Two edges, on the other hand, would
 mean that the perimeter calculation is correct.

 {{{
 #!div style="font-size: 80%"
 On a side note, I had to include the
 `#include<boost/geometry/geometries/point_xy.hpp>` line to avoid
 compilation errors in the attached file.
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6443#comment:3>
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:09 UTC