NAME
Geo::Geos::Prep::GeometryFactory - A factory for creating PreparedGeometrys.
SYNOPSIS
my
$gf
= Geo::Geos::GeometryFactory::create();
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
$lr1
=
$gf
->createLinearRing([
$c1
,
$c2
,
$c3
,
$c4
,
$c1
], 2);
my
$p1
=
$gf
->createPolygon(
$lr1
);
Geo::Geos::Prep::GeometryFactory::prepare(
$p1
);
# => isa 'Geo::Geos::Prep::Geometry'
SEE ALSO (C++ classes docs)
geos::geom::prep::PreparedGeometryFactory
SEE ALSO
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.