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

NAME

Geo::Geos::Noding::SegmentIntersector - Processes possible intersections detected by a Noder.

SYNOPSIS

    use Geo::Geos::Coordinate;
    use Geo::Geos::PrecisionModel;
    use Geo::Geos::Noding::IntersectionAdder;
    use Geo::Geos::Noding::SegmentIntersectionDetector;

    my $c4 = Geo::Geos::Coordinate->new(1,2);

    my $pm = Geo::Geos::PrecisionModel->new;
    my $li = Geo::Geos::Algorithm::LineIntersector->new($pm);

    my $iaf = Geo::Geos::Noding::IntersectionFinderAdder->new($li, [$c4]);   # => isa 'Geo::Geos::Noding::SegmentIntersector'
    Geo::Geos::Noding::IntersectionAdder->new($li);                          # => isa 'Geo::Geos::Noding::SegmentIntersector'
    Geo::Geos::Noding::SegmentIntersectionDetector->new($li);                # => isa 'Geo::Geos::Noding::SegmentIntersector'
    Geo::Geos::Noding::SingleInteriorIntersectionFinder->new($li);           # => isa 'Geo::Geos::Noding::SegmentIntersector'

    $iaf->isDone;                       # => ''
    $iaf->getInteriorIntersections;     # => is_deeply [Geo::Geos::Coordinate->new(1,2)];

SEE ALSO (C++ classes docs)

GEOS C++ Library

geos::noding::SegmentIntersector

SEE ALSO

Geo::Geos

Geo::Geos::Algorithm::LineIntersector

Geo::Geos::Noding::IntersectionAdder

Geo::Geos::Noding::IntersectionFinderAdder

Geo::Geos::Noding::SegmentIntersectionDetector

Geo::Geos::Noding::SingleInteriorIntersectionFinder

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.