Class SimpleSegmentSetMutualIntersector

Hierarchy: Object , SimpleSegmentSetMutualIntersector
All Implemented Interfaces: SegmentSetMutualIntersector
public class SimpleSegmentSetMutualIntersector
implements SegmentSetMutualIntersector
Intersects two sets of SegmentStrings using brute-force comparison.

Other

  • version: 1.7
public SimpleSegmentSetMutualIntersector(Collection segStrings)
Constructs a new intersector for a given set of SegmentStrings.
Parameters:
segStrings - segStrings the base segment strings to intersect
public void process(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.
Parameters:
a - a set of segments to intersect
the - the segment intersector to use