[Boost-bugs] [Boost C++ Libraries] #12903: division by 0

Subject: [Boost-bugs] [Boost C++ Libraries] #12903: division by 0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-03-14 03:23:08


#12903: division by 0
-----------------------+-----------------------------------
 Reporter: anonymous | Type: Support Requests
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.55.0
 Severity: Problem | Keywords: boost/polygon/voronoi
-----------------------+-----------------------------------
 Input for Voronoi:

 points.push_back(point(1, 1));
 points.push_back(point(3, 1));
 points.push_back(point(1, 3));
 points.push_back(point(3, 3));
 points.push_back(point(-1, 1));
 points.push_back(point(1, -1));
 points.push_back(point(5, 1));
 points.push_back(point(3, -1));
 points.push_back(point(-1, 3));
 points.push_back(point(1, 5));
 points.push_back(point(5, 3));
 points.push_back(point(3, 5));
 VD vd;
 construct_voronoi(points.begin(), points.end(), &vd);

 I get a division by 0. Is this normal? What are the restrictions on the
 points?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12903>
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-03-14 03:26:16 UTC