17 #ifndef GEOS_GEOM_PREP_SEGMENTINTERSECTIONDETECTOR_H
18 #define GEOS_GEOM_PREP_SEGMENTINTERSECTIONDETECTOR_H
20 #include <geos/noding/SegmentIntersector.h>
21 #include <geos/algorithm/LineIntersector.h>
22 #include <geos/geom/Coordinate.h>
23 #include <geos/geom/CoordinateSequence.h>
24 #include <geos/noding/SegmentString.h>
26 using namespace geos::algorithm;
52 bool _hasIntersection;
53 bool _hasProperIntersection;
54 bool _hasNonProperIntersection;
66 _hasIntersection(
false),
67 _hasProperIntersection(
false),
68 _hasNonProperIntersection(
false),
80 void setFindProper(
bool findProper)
82 this->findProper = findProper;
85 void setFindAllIntersectionTypes(
bool findAllTypes)
87 this->findAllTypes = findAllTypes;
95 bool hasIntersection()
const
97 return _hasIntersection;
105 bool hasProperIntersection()
const
107 return _hasProperIntersection;
115 bool hasNonProperIntersection()
const
117 return _hasNonProperIntersection;
147 return _hasProperIntersection && _hasNonProperIntersection;
151 return _hasProperIntersection;
153 return _hasIntersection;
172 #endif // GEOS_GEOM_PREP_SEGMENTINTERSECTIONDETECTOR_H