NAME

Geo::Geos::LinearRing - Models an OGC SFS LinearRing.

SYNOPSIS (class-specific methods)

use Geo::Geos::Coordinate;
use Geo::Geos::GeometryFactory;

my $c1 = Geo::Geos::Coordinate->new(1,2);
my $c2 = Geo::Geos::Coordinate->new(5,2);
my $c3 = Geo::Geos::Coordinate->new(5,0);
my $c4 = Geo::Geos::Coordinate->new(1,0);
my $gf = Geo::Geos::GeometryFactory::create();

my $lr = $gf->createLinearRing([$c1, $c2, $c3, $c4, $c1], 2);   # => isa 'Geo::Geos::LinearRing'
$gf->createLinearRing([$c1, $c2, $c3, $c4, $c1], 2);            # => isa 'Geo::Geos::LineString'
$lr->reverse;    # => isa 'Geo::Geos::Geometry'

DESCRIPTION

See methods in the base class Geo::Geos::Geometry.

SEE ALSO (C++ classes docs)

GEOS C++ Library

geos::geom::LinearRing

SEE ALSO

Geo::Geos

Geo::Geos::Geometry

Geo::Geos::GeometryFactory

Geo::Geos::LineString

AUTHOR

Ivan Baidakou <i.baydakov@crazypanda.ru>, Crazy Panda, CP Decision LTD

LICENSE

You may distribute this code under the same terms as Perl itself.