Class SimpleSegmentSetMutualIntersector
java.lang.Object
org.locationtech.jts.noding.SimpleSegmentSetMutualIntersector
- All Implemented Interfaces:
SegmentSetMutualIntersector
public class SimpleSegmentSetMutualIntersector
extends Object
implements SegmentSetMutualIntersector
Intersects two sets of
SegmentStrings using
brute-force comparison.- Version:
- 1.7
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleSegmentSetMutualIntersector(Collection segStrings) Constructs a new intersector for a given set ofSegmentStrings. -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(Collection segStrings, SegmentIntersector segInt) CallsSegmentIntersector.processIntersections(SegmentString, int, SegmentString, int)for all candidate intersections between the given collection of SegmentStrings and the set of base segments.
-
Constructor Details
-
SimpleSegmentSetMutualIntersector
Constructs a new intersector for a given set ofSegmentStrings.- Parameters:
segStrings- the base segment strings to intersect
-
-
Method Details
-
process
CallsSegmentIntersector.processIntersections(SegmentString, int, SegmentString, int)for all candidate intersections between the given collection of SegmentStrings and the set of base segments.- Specified by:
processin interfaceSegmentSetMutualIntersector- Parameters:
segStrings- set of segments to intersectsegInt- segment intersector to use
-