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>
Download (untitled) / with headers
text/plain 719b
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.
Download foo.pl
text/x-perl 180b

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



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.