NAME

Geo::Geos::MultiLineString - Models a collection of LineStrings.

SYNOPSIS (class-specific methods)

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

    my $c11 = Geo::Geos::Coordinate->new(1,2);
    my $c12 = Geo::Geos::Coordinate->new(5,2);
    my $c21 = Geo::Geos::Coordinate->new(10,2);
    my $c22 = Geo::Geos::Coordinate->new(15,2);
    my $gf = Geo::Geos::GeometryFactory::create();

    my $l1 = $gf->createLineString([$c11, $c21], 2);
    my $l2 = $gf->createLineString([$c21, $c22], 2);
    my $mls = $gf->createMultiLineString([$l1, $l2]);   # => isa 'Geo::Geos::MultiLineString'
    $gf->createMultiLineString([$l1, $l2]);             # => isa 'Geo::Geos::GeometryCollection'
    $gf->createMultiLineString([$l1, $l2]);             # => isa 'Geo::Geos::Lineal'

    $mls->isClosed;     # => success
    $mls->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::MultiLineString

SEE ALSO

Geo::Geos

Geo::Geos::Geometry

Geo::Geos::GeometryCollection

Geo::Geos::GeometryFactory

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.