Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: user42_kevin [...] yahoo.com.au
Cc:
AdminCc:

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



Subject: warnings from colinear minrectangle()
Date: Sat, 14 Jun 2014 15:12:58 +1000
To: bug-Math-Geometry-Planar [...] rt.cpan.org
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
If minrectangle() is called on a polygon which is all colinear points then it prints warnings. For example the foo.pl run as perl -w foo.pl => Use of uninitialized value $j in array element at /usr/share/perl5/Math/Geometry/Planar.pm line 1673. Use of uninitialized value $j in array element at /usr/share/perl5/Math/Geometry/Planar.pm line 1673. Use of uninitialized value $j in array element at /usr/share/perl5/Math/Geometry/Planar.pm line 1675. Use of uninitialized value $j in array element at /usr/share/perl5/Math/Geometry/Planar.pm line 1676. The answer from minrectangle() seems like it may be correct (a zero-area rectangle) but it'd be good if it was clean to "perl -w" warnings.

Message body is not shown because sender requested not to inline it.