com.vividsolutions.jts.noding
Interface SegmentIntersector
- All Known Implementing Classes:
- InteriorIntersectionFinder, IntersectionAdder, IntersectionFinderAdder
- public interface SegmentIntersector
Computes the intersections between two line segments in SegmentString
s
and adds them to each string.
The SegmentIntersector
is passed to a Noder
.
The addIntersections
method is called whenever the Noder
detects that two SegmentStrings might intersect.
This class is an example of the Strategy pattern.
- Version:
- 1.7
processIntersections
public void processIntersections(SegmentString e0,
int segIndex0,
SegmentString e1,
int segIndex1)
- This method is called by clients
of the
SegmentIntersector
interface to process
intersections for two segments of the SegmentStrings
being intersected.