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 and Description |
|---|---|
void |
process(Collection
Computes the intersections with a given set of
SegmentStrings, using the supplied
SegmentIntersector.
|
void process(CollectionsegStrings, SegmentIntersector segInt)
SegmentStrings, using the supplied
SegmentIntersector.
segStrings - a collection of
SegmentStrings to node
segInt - the intersection detector to either record intersection occurences or add intersection nodes to the input segment strings.