00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef GEOS_OP_OVERLAY_EDGESETNODER_H
00020 #define GEOS_OP_OVERLAY_EDGESETNODER_H
00021
00022 #include <geos/export.h>
00023
00024 #include <vector>
00025
00026
00027 namespace geos {
00028 namespace geomgraph {
00029 class Edge;
00030 }
00031 namespace algorithm {
00032 class LineIntersector;
00033 }
00034 }
00035
00036 namespace geos {
00037 namespace operation {
00038 namespace overlay {
00039
00047 class GEOS_DLL EdgeSetNoder {
00048 private:
00049 algorithm::LineIntersector *li;
00050 std::vector<geomgraph::Edge*>* inputEdges;
00051 public:
00052 EdgeSetNoder(algorithm::LineIntersector *newLi)
00053 :
00054 li(newLi),
00055 inputEdges(new std::vector<geomgraph::Edge*>())
00056 {}
00057
00058 ~EdgeSetNoder() {
00059 delete inputEdges;
00060 }
00061
00062 void addEdges(std::vector<geomgraph::Edge*> *edges);
00063 std::vector<geomgraph::Edge*>* getNodedEdges();
00064 };
00065
00066
00067 }
00068 }
00069 }
00070
00071 #endif // ndef GEOS_OP_OVERLAY_EDGESETNODER_H