com.vividsolutions.jts.operation.predicate
Class SegmentIntersectionTester
java.lang.Object
com.vividsolutions.jts.operation.predicate.SegmentIntersectionTester
public class SegmentIntersectionTester
- extends Object
Tests if any of the segments in a
LineString intersect any segment in a set of LineStrings.
The algorithm is optimized for use when the first input has smaller extent
than the set of test lines.
The code is 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 |
SegmentIntersectionTester
public SegmentIntersectionTester()
hasIntersectionWithLineStrings
public boolean hasIntersectionWithLineStrings(LineString line,
List lines)
Copyright © 2011. All Rights Reserved.