Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6366: Bug in "boost::polygon::contains" for polygon_90 type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-27 13:30:25
#6366: Bug in "boost::polygon::contains" for polygon_90 type
----------------------------------+------------------------
Reporter: sebastien.mirabel@⦠| Owner: asydorchuk
Type: Bugs | Status: closed
Milestone: Boost 1.53.0 | Component: polygon
Version: Boost 1.51.0 | Severity: Problem
Resolution: fixed | Keywords:
----------------------------------+------------------------
Comment (by anonymous):
Sorry for my typo, set_points(poly1, pts1, pts1+4) and set_points(poly2,
pts2, pts2+4) should be set_points(poly1, pts1, pts1+26) and
set_points(poly2, pts2, pts2+26), respectively.
However, it still got the wrong results after fixing the typo. poly1 and
poly2 are actually the same shape and the results I got are shown as
follows:
41900, 4950 in poly1 true
41900, 4950 in poly2 true
28000, 4950 in poly1 true
28000, 4950 in poly2 true
The correct results should be as follows, where poly1(poly2) does not
contain point1:
41900, 4950 in poly1 false
41900, 4950 in poly2 false
28000, 4950 in poly1 true
28000, 4950 in poly2 true
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6366#comment:11> 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:15 UTC