The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

NAME

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

SYNOPSIS

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.