Igor Zinovyev > Eve > Eve::Geometry

Download:
Eve-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Eve::Geometry - an abstract geometry class for map projection purposes.

SYNOPSIS ^

    use Eve::Geometry;

    my $geo = Eve::Geometry->from_string(
        string => 'PostGIS textual geometry representation');

DESCRIPTION ^

The class is a base for a generic geometry object that is required in all operations with objects on the map projection.

METHODS ^

from_string

A static method that parses the PostGIS textual representation of a geometry object and returns a corresponding object.

Arguments

string

Returns

Eve::Geometry

an object that implements the Eve::Geometry abstract class.

METHODS ^

clone()

Clones and returns the object.

Returns

The object identical to self.

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
syntax highlighting: