NAME
Eve::Geometry::Polygon - a polygon geometry class for map projection purposes.
SYNOPSIS
use Eve::Geometry::Polygon;
my $geo = Eve::Geometry->new(data => [[$lat, $lng], [$lat, $lng], ...]);
DESCRIPTION
The class is a polygon geometry object.
METHODS
init()
export()
Returns an array reference with the representation of the geometry object.
Returns
ARRAY
.
serialize()
Returns a string representation of the geometry object.
Returns
ARRAY
.
SEE ALSO
LICENSE AND COPYRIGHT
Copyright 2012 Igor Zinovyev.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.