com.vividsolutions.jts.noding
Class FastSegmentSetIntersectionFinder
java.lang.Object
com.vividsolutions.jts.noding.FastSegmentSetIntersectionFinder
public class FastSegmentSetIntersectionFinder
- extends java.lang.Object
Finds if two sets of SegmentString
s intersect.
Uses indexing for fast performance and to optimize repeated tests
against a target set of lines.
Short-circuited to return as soon an intersection is found.
- Version:
- 1.7
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FastSegmentSetIntersectionFinder
public FastSegmentSetIntersectionFinder(java.util.Collection baseSegStrings)
getSegmentSetIntersector
public SegmentSetMutualIntersector getSegmentSetIntersector()
- Gets the segment set intersector used by this class.
This allows other uses of the same underlying indexed structure.
- Returns:
- the segment set intersector used
intersects
public boolean intersects(java.util.Collection segStrings)
intersects
public boolean intersects(java.util.Collection segStrings,
SegmentIntersectionDetector intDetector)