Package org.locationtech.jts.noding
Class IntersectionFinderAdder
- java.lang.Object
-
- org.locationtech.jts.noding.IntersectionFinderAdder
-
- All Implemented Interfaces:
SegmentIntersector
public class IntersectionFinderAdder extends java.lang.Object implements SegmentIntersector
Deprecated.see InteriorIntersectionFinderAdderFinds interior intersections between line segments inNodedSegmentString
s, and adds them as nodes usingNodedSegmentString.addIntersection(LineIntersector, int, int, int)
.This class is used primarily for Snap-Rounding. For general-purpose noding, use
IntersectionAdder
.- Version:
- 1.7
- See Also:
IntersectionAdder
-
-
Constructor Summary
Constructors Constructor Description IntersectionFinderAdder(LineIntersector li)
Deprecated.Creates an intersection finder which finds all proper intersections
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List
getInteriorIntersections()
Deprecated.boolean
isDone()
Deprecated.Always process all intersectionsvoid
processIntersections(SegmentString e0, int segIndex0, SegmentString e1, int segIndex1)
Deprecated.This method is called by clients of theSegmentIntersector
class to process intersections for two segments of theSegmentString
s being intersected.
-
-
-
Constructor Detail
-
IntersectionFinderAdder
public IntersectionFinderAdder(LineIntersector li)
Deprecated.Creates an intersection finder which finds all proper intersections- Parameters:
li
- the LineIntersector to use
-
-
Method Detail
-
getInteriorIntersections
public java.util.List getInteriorIntersections()
Deprecated.
-
processIntersections
public void processIntersections(SegmentString e0, int segIndex0, SegmentString e1, int segIndex1)
Deprecated.This method is called by clients of theSegmentIntersector
class to process intersections for two segments of theSegmentString
s being intersected. Note that some clients (such asMonotoneChain
s) may optimize away this call for segment pairs which they have determined do not intersect (e.g. by an disjoint envelope test).- Specified by:
processIntersections
in interfaceSegmentIntersector
-
isDone
public boolean isDone()
Deprecated.Always process all intersections- Specified by:
isDone
in interfaceSegmentIntersector
- Returns:
- false always
-
-