SegmentSetMutualIntersector
public class SimpleSegmentSetMutualIntersector extends java.lang.Object implements SegmentSetMutualIntersector
SegmentString
s using
brute-force comparison.Constructor | Description |
---|---|
SimpleSegmentSetMutualIntersector(java.util.Collection segStrings) |
Constructs a new intersector for a given set of
SegmentString s. |
Modifier and Type | Method | Description |
---|---|---|
void |
process(java.util.Collection segStrings,
SegmentIntersector segInt) |
Calls
SegmentIntersector.processIntersections(SegmentString, int, SegmentString, int)
for all candidate intersections between
the given collection of SegmentStrings and the set of base segments. |
public SimpleSegmentSetMutualIntersector(java.util.Collection segStrings)
SegmentString
s.segStrings
- the base segment strings to intersectpublic void process(java.util.Collection segStrings, SegmentIntersector segInt)
SegmentIntersector.processIntersections(SegmentString, int, SegmentString, int)
for all candidate intersections between
the given collection of SegmentStrings and the set of base segments.process
in interface SegmentSetMutualIntersector
a
- set of segments to intersectthe
- segment intersector to useCopyright © 2018. All rights reserved.