com.vividsolutions.jts.noding
Interface SegmentIntersector

All Known Implementing Classes:
InteriorIntersectionFinder, IntersectionAdder, IntersectionFinderAdder

public interface SegmentIntersector

Computes the intersections between two line segments in SegmentStrings 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

Method Summary
 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.
 

Method Detail

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.