GD::Polygon(3) User Contributed Perl Documentation GD::Polygon(3)NAME
GD::Polygon - Polygon class for the GD image library
SYNOPSIS
See GD
DESCRIPTION
See GD
AUTHOR
The GD.pm interface is copyright 1995-2005, Lincoln D. Stein. It is distributed under the same terms as Perl itself. See the "Artistic
License" in the Perl source code distribution for licensing terms.
The latest versions of GD.pm are available on CPAN:
http://www.cpan.org
SEE ALSO
GD GD::Polyline, GD::SVG, GD::Simple, Image::Magick
perl v5.16.3 2013-02-26 GD::Polygon(3)
Check Out this Related Man Page
Math::Polygon::Convex(3pm) User Contributed Perl Documentation Math::Polygon::Convex(3pm)NAME
Math::Polygon::Convex - Collection of convex algorithms
INHERITANCE
Math::Polygon::Convex
is a Exporter
SYNOPSIS
use Math::Polygon::Convex qw/chainHull_2D/;
my @points = ( [1,2], [2,4], [5,7], [1,2] );
my $poly = chainHull_2D @points;
DESCRIPTION
The "convex polygon" around a set of points, is the polygon with a minimal size which contains all points.
This package contains one convex calculation algorithm, but may be extended with alternative implementations in the future.
FUNCTIONS
chainHull_2D(POINTS)
Each POINT is an ARRAY of two elements: the X and Y coordinate of a point. Returned is the enclosing convex Math::Polygon object.
Algorithm by Dan Sunday, http://geometryalgorithms.com/Archive/algorithm_0109/algorithm_0109.htm
SEE ALSO
This module is part of Math-Polygon distribution version 1.02, built on September 19, 2011. Website: http://perl.overmeer.net/geo/
LICENSE
Copyrights 2004,2006-2011 by Mark Overmeer. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See
http://www.perl.com/perl/misc/Artistic.html
perl v5.12.4 2011-09-19 Math::Polygon::Convex(3pm)