Opened 23 months ago

Last modified 22 months ago

#12903 new Support Requests

division by 0

Reported by: anonymous Owned by: Lucanus Simonson
Milestone: To Be Determined Component: polygon
Version: Boost 1.55.0 Severity: Problem
Keywords: boost/polygon/voronoi Cc:

Description

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?

Attachments (1)

0.PNG (32.6 KB) - added by igor.sotnichenko@… 23 months ago.

Download all attachments as: .zip

Change History (2)

Changed 23 months ago by igor.sotnichenko@…

Attachment: 0.PNG added

comment:1 Changed 22 months ago by Kohei Takahashi

Component: Nonepolygon
Owner: set to Lucanus Simonson
Note: See TracTickets for help on using tickets.