21 #ifndef GEOS_OP_LINEMERGE_LINEMERGEGRAPH_H
22 #define GEOS_OP_LINEMERGE_LINEMERGEGRAPH_H
24 #include <geos/export.h>
25 #include <geos/planargraph/PlanarGraph.h>
31 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
40 namespace planargraph {
59 class GEOS_DLL LineMergeGraph:
public planargraph::PlanarGraph {
63 planargraph::Node* getNode(
const geom::Coordinate& coordinate);
65 std::vector<planargraph::Node*> newNodes;
67 std::vector<planargraph::Edge*> newEdges;
69 std::vector<planargraph::DirectedEdge*> newDirEdges;
81 void addEdge(
const geom::LineString* lineString);
83 ~LineMergeGraph()
override;
93 #endif // GEOS_OP_LINEMERGE_LINEMERGEGRAPH_H