public class InteriorIntersectionFinderAdder extends Object implements 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
|Constructor and Description|
Creates an intersection finder which finds all proper intersections
|Modifier and Type||Method and Description|
Always process all intersections
public InteriorIntersectionFinderAdder(LineIntersector li)
li- the LineIntersector to use
public List getInteriorIntersections()
public void processIntersections(SegmentString e0, int segIndex0, SegmentString e1, int segIndex1)
SegmentIntersectorclass 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).
Copyright © 2020. All rights reserved.