public class SimpleSegmentSetMutualIntersector extends Objectimplements SegmentSetMutualIntersector
SegmentStrings using brute-force comparison.
| Constructor and Description |
|---|
SimpleSegmentSetMutualIntersector(Collection
Constructs a new intersector for a given set of
SegmentStrings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
process(Collection
Calls
SegmentIntersector for all
candidate intersections between the given collection of SegmentStrings and the set of base segments.
|
public SimpleSegmentSetMutualIntersector(CollectionsegStrings)
SegmentStrings.
baseSegStrings - the base segment strings to intersect
public void process(CollectionsegStrings, 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 intersect
the - segment intersector to use