The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

Eve::Class

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.

AUTHOR

Igor Zinovyev