Opened 6 years ago

Last modified 6 years 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@… 6 years ago.

Download all attachments as: .zip

Change History (2)

by igor.sotnichenko@…, 6 years ago

Attachment: 0.PNG added

comment:1 by Kohei Takahashi, 6 years ago

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