17 #ifndef GEOS_PLANARGRAPH_NODEMAP_H
18 #define GEOS_PLANARGRAPH_NODEMAP_H
20 #include <geos/export.h>
21 #include <geos/geom/Coordinate.h>
28 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
33 namespace planargraph {
34 class DirectedEdgeStar;
42 namespace planargraph {
51 typedef std::map<geom::Coordinate, Node*, geom::CoordinateLessThen> container;
60 container& getNodeMap();
93 return nodeMap.begin();
96 container::iterator begin() {
97 return nodeMap.begin();
99 container::const_iterator begin()
const {
100 return nodeMap.begin();
103 container::iterator end() {
104 return nodeMap.end();
106 container::const_iterator end()
const {
107 return nodeMap.end();
117 void getNodes(std::vector<Node*>& nodes);
128 #endif // GEOS_PLANARGRAPH_NODEMAP_H