20 #ifndef GEOS_OP_PREDICATE_SEGMENTINTERSECTIONTESTER_H
21 #define GEOS_OP_PREDICATE_SEGMENTINTERSECTIONTESTER_H
23 #include <geos/export.h>
25 #include <geos/algorithm/LineIntersector.h>
26 #include <geos/geom/Coordinate.h>
32 class CoordinateSequence;
48 class GEOS_DLL SegmentIntersectionTester {
56 algorithm::LineIntersector li;
58 bool hasIntersectionVar;
62 SegmentIntersectionTester(): hasIntersectionVar(false) {}
64 bool hasIntersectionWithLineStrings(
const geom::LineString& line,
65 const std::vector<const geom::LineString*>& lines);
67 bool hasIntersection(
const geom::LineString& line,
68 const geom::LineString& testLine);
84 bool hasIntersectionWithEnvelopeFilter(
const geom::LineString& line,
85 const geom::LineString& testLine);
94 #endif // ifndef GEOS_OP_PREDICATE_SEGMENTINTERSECTIONTESTER_H