public class SegmentIntersectionTester
extends java.lang.Object
CoordinateSequence
s intersect.
Optimized for use when at least one input is of small size.
Short-circuited to return as soon an intersection is found.Constructor and Description |
---|
SegmentIntersectionTester() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasIntersection(CoordinateSequence seq0,
CoordinateSequence seq1) |
boolean |
hasIntersectionWithLineStrings(CoordinateSequence seq,
java.util.List lines) |
public boolean hasIntersectionWithLineStrings(CoordinateSequence seq, java.util.List lines)
public boolean hasIntersection(CoordinateSequence seq0, CoordinateSequence seq1)