20 #ifndef GEOS_NODING_INTERSECTIONADDER_H
21 #define GEOS_NODING_INTERSECTIONADDER_H
23 #include <geos/export.h>
29 #include <geos/inline.h>
31 #include <geos/geom/Coordinate.h>
32 #include <geos/noding/SegmentIntersector.h>
43 class LineIntersector;
67 bool hasIntersectionVar;
69 bool hasProperInterior;
76 bool isSelfIntersection;
85 bool isTrivialIntersection(
const SegmentString* e0,
int segIndex0,
95 int numInteriorIntersections;
96 int numProperIntersections;
103 hasIntersectionVar(
false),
105 hasProperInterior(
false),
107 properIntersectionPoint(NULL),
110 numInteriorIntersections(0),
111 numProperIntersections(0),
122 return properIntersectionPoint;
125 bool hasIntersection() {
return hasIntersectionVar; }
160 void processIntersections(
165 static bool isAdjacentSegments(
int i1,
int i2) {
166 return std::abs(i1 - i2) == 1;
187 #endif // GEOS_NODING_INTERSECTIONADDER_H