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
bool hasProperIntersection()
Definition: IntersectionAdder.h:135
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:61
An interface for classes which represent a sequence of contiguous line segments.
Definition: SegmentString.h:46
bool hasInteriorIntersection()
Definition: IntersectionAdder.h:148
A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...
Definition: LineIntersector.h:50
Definition: IntersectionAdder.h:59
Processes possible intersections detected by a Noder.
Definition: noding/SegmentIntersector.h:48
bool hasProperInteriorIntersection()
Definition: IntersectionAdder.h:142
const geom::Coordinate * getProperIntersectionPoint()
Definition: IntersectionAdder.h:121
virtual bool isDone() const
Definition: IntersectionAdder.h:174