Skip Menu |

This queue is for tickets about the Math-Geometry-Planar CPAN distribution.

Report information
The Basics
Id: 101593
Status: new
Priority: 0/
Queue: Math-Geometry-Planar

People
Owner: Nobody in particular
Requestors: pg [...] futureware.at
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Triangulation problems
Date: Sat, 17 Jan 2015 20:10:13 +0100
To: bug-Math-Geometry-Planar [...] rt.cpan.org
From: "Philipp Gühring" <pg [...] futureware.at>
Hi, There is a division by zero error in _get_angle, which can be solved by adding return 0 if(_Length($v0) == 0 || _Length($v1) == 0); directly before the if. The triangulation itself runs into an endless loop and into memory problems when consecutive points are on the same coordinates. I solved that problem by pre-filtering my input. Best regards, Philipp