16 #ifndef GEOS_GEOM_PREP_SEGMENTINTERSECTIONDETECTOR_H
17 #define GEOS_GEOM_PREP_SEGMENTINTERSECTIONDETECTOR_H
19 #include <geos/noding/SegmentIntersector.h>
20 #include <geos/algorithm/LineIntersector.h>
21 #include <geos/geom/Coordinate.h>
22 #include <geos/geom/CoordinateSequence.h>
23 #include <geos/noding/SegmentString.h>
25 using namespace geos::algorithm;
51 bool _hasIntersection;
52 bool _hasProperIntersection;
53 bool _hasNonProperIntersection;
65 _hasIntersection(
false),
66 _hasProperIntersection(
false),
67 _hasNonProperIntersection(
false),
79 void setFindProper(
bool findProper)
81 this->findProper = findProper;
84 void setFindAllIntersectionTypes(
bool findAllTypes)
86 this->findAllTypes = findAllTypes;
94 bool hasIntersection()
const
96 return _hasIntersection;
104 bool hasProperIntersection()
const
106 return _hasProperIntersection;
114 bool hasNonProperIntersection()
const
116 return _hasNonProperIntersection;
146 return _hasProperIntersection && _hasNonProperIntersection;
150 return _hasProperIntersection;
152 return _hasIntersection;
171 #endif // GEOS_GEOM_PREP_SEGMENTINTERSECTIONDETECTOR_H