com.vividsolutions.jts.noding
public class IntersectionFinderAdder extends java.lang.Object implements SegmentIntersector
Constructor and Description |
---|
IntersectionFinderAdder(LineIntersector li)
Creates an intersection finder which finds all proper intersections
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getInteriorIntersections() |
boolean |
isDone()
Always process all intersections
|
void |
processIntersections(SegmentString e0,
int segIndex0,
SegmentString e1,
int segIndex1)
This method is called by clients
of the
SegmentIntersector class to process
intersections for two segments of the SegmentStrings being intersected. |
public IntersectionFinderAdder(LineIntersector li)
li
- the LineIntersector to usepublic java.util.List getInteriorIntersections()
public void processIntersections(SegmentString e0, int segIndex0, SegmentString e1, int segIndex1)
SegmentIntersector
class to process
intersections for two segments of the SegmentStrings
being intersected.
Note that some clients (such as MonotoneChain
s) may optimize away
this call for segment pairs which they have determined do not intersect
(e.g. by an disjoint envelope test).processIntersections
in interface SegmentIntersector
public boolean isDone()
isDone
in interface SegmentIntersector