|Constructor and Description|
Creates an intersector which finds intersections, snaps them, and adds them as nodes.
|Modifier and Type||Method and Description|
Always process all intersections
public SnappingIntersectionAdder(double snapTolerance, SnappingPointIndex snapPointIndex)
snapTolerance- the snapping tolerance distance
snapPointIndex- the snapPointIndex
public void processIntersections(SegmentString seg0, int segIndex0, SegmentString seg1, 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.