16 #ifndef GEOS_GEOMGRAPH_INDEX_SIMPLESWEEPLINEINTERSECTOR_H
17 #define GEOS_GEOMGRAPH_INDEX_SIMPLESWEEPLINEINTERSECTOR_H
19 #include <geos/export.h>
22 #include <geos/geomgraph/index/EdgeSetIntersector.h>
26 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
34 class SegmentIntersector;
59 void computeIntersections(std::vector<Edge*>* edges,
61 bool testAllSegments)
override;
63 void computeIntersections(std::vector<Edge*>* edges0,
64 std::vector<Edge*>* edges1,
69 void add(std::vector<Edge*>* edges);
71 std::vector<SweepLineEvent*> events;
76 void add(std::vector<Edge*>* edges,
void* edgeSet);
78 void add(
Edge* edge,
void* edgeSet);
84 void processOverlaps(
size_t start,
size_t end, SweepLineEvent* ev0,
96 #endif // GEOS_GEOMGRAPH_INDEX_SIMPLESWEEPLINEINTERSECTOR_H
Computes the intersection of line segments, and adds the intersection to the edges containing the seg...
Definition: geomgraph/index/SegmentIntersector.h:47
Finds all intersections in one or two sets of edges, using a simple x-axis sweepline algorithm...
Definition: SimpleSweepLineIntersector.h:51
An EdgeSetIntersector computes all the intersections between the edges in the set.
Definition: EdgeSetIntersector.h:41
Definition: geomgraph/Edge.h:66