MCIndexSegmentSetMutualIntersector
, SimpleSegmentSetMutualIntersector
public interface SegmentSetMutualIntersector
Implementing classes must provide a way of supplying the base set of segment strings to test against (e.g. in the constructor, for straightforward thread-safety).
In order to allow optimizing processing, the following condition is assumed to hold for each set:
Modifier and Type | Method | Description |
---|---|---|
void |
process(java.util.Collection segStrings,
SegmentIntersector segInt) |
Computes the intersections with a given set of
SegmentString s,
using the supplied SegmentIntersector . |
void process(java.util.Collection segStrings, SegmentIntersector segInt)
SegmentString
s,
using the supplied SegmentIntersector
.segStrings
- a collection of SegmentString
s to nodesegInt
- the intersection detector to either record intersection occurrences
or add intersection nodes to the input segment strings.Copyright © 2018. All rights reserved.