Package org.locationtech.jts.noding
Class SimpleSegmentSetMutualIntersector
- java.lang.Object
-
- org.locationtech.jts.noding.SimpleSegmentSetMutualIntersector
-
- All Implemented Interfaces:
SegmentSetMutualIntersector
public class SimpleSegmentSetMutualIntersector extends java.lang.Object implements SegmentSetMutualIntersector
Intersects two sets ofSegmentString
s using brute-force comparison.- Version:
- 1.7
-
-
Constructor Summary
Constructors Constructor Description SimpleSegmentSetMutualIntersector(java.util.Collection segStrings)
Constructs a new intersector for a given set ofSegmentString
s.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(java.util.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 Detail
-
SimpleSegmentSetMutualIntersector
public SimpleSegmentSetMutualIntersector(java.util.Collection segStrings)
Constructs a new intersector for a given set ofSegmentString
s.- Parameters:
segStrings
- the base segment strings to intersect
-
-
Method Detail
-
process
public void process(java.util.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.- Specified by:
process
in interfaceSegmentSetMutualIntersector
- Parameters:
segStrings
- set of segments to intersectsegInt
- segment intersector to use
-
-