Skip Menu |

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

Report information
The Basics
Id: 96354
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: suggest bbox_xy() bounding box variant
Date: Tue, 10 Jun 2014 16:54:34 +1000
To: bug-Math-Geometry-Planar [...] rt.cpan.org
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
As an idea for a feature, it could be good to have a bounding box variation which returned x,y values, ($min_x,$min_y, $max_x,$max_y) = $planar->bbox_xy() I had an urge for this when wanting to iterate points over a polygon's extent, so I wanted the min,max values individually rather then the way $planar->bbox() gives a new polygon bounding box. It being useful for plotting a polygon, to know its extents before beginning. Perhaps something along the lines below, cutting bbox() into two parts.

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

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