public class InteriorIntersectionFinderAdder extends Objectimplements SegmentIntersector
NodedSegmentStrings, and adds them as nodes using
NodedSegmentString.addIntersection(LineIntersector, int, int, int) .
This class is used primarily for Snap-Rounding. For general-purpose noding, use IntersectionAdder.
IntersectionAdder
| Constructor and Description |
|---|
InteriorIntersectionFinderAdder(LineIntersector
Creates an intersection finder which finds all proper intersections
|
| Modifier and Type | Method and Description |
|---|---|
List |
getInteriorIntersections()
|
boolean |
isDone()
Always process all intersections
|
void |
processIntersections(SegmentString
This method is called by clients of the
SegmentIntersector class to process intersections for two segments of the
SegmentStrings being intersected.
|
public InteriorIntersectionFinderAdder(LineIntersectorli)
li - the LineIntersector to use
public ListgetInteriorIntersections()
public void processIntersections(SegmentStringe0, 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
MonotoneChains) may optimize away this call for segment pairs which they have determined do not intersect (e.g. by an disjoint envelope test).
public boolean isDone()
isDone in interface
SegmentIntersector