16 #ifndef GEOS_PLANARGRAPH_NODEMAP_H 17 #define GEOS_PLANARGRAPH_NODEMAP_H 27 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 32 namespace planargraph {
33 class DirectedEdgeStar;
41 namespace planargraph {
50 typedef std::map<geom::Coordinate, Node*, geom::CoordinateLessThen>
container;
59 container& getNodeMap();
94 return nodeMap.begin();
100 return nodeMap.begin();
102 container::const_iterator
105 return nodeMap.begin();
111 return nodeMap.end();
113 container::const_iterator
116 return nodeMap.end();
126 void getNodes(std::vector<Node*>& nodes);
137 #endif // GEOS_PLANARGRAPH_NODEMAP_H
std::map< geom::Coordinate, Node *, geom::CoordinateLessThen > container
Coordinate is the lightweight class used to store coordinates.
container::iterator begin()
container::const_iterator end() const
container::iterator end()
Basic namespace for all GEOS functionalities.
container::const_iterator begin() const
A node in a PlanarGraph is a location where 0 or more Edge meet.
container::iterator iterator()
Returns an Iterator over the Nodes in this NodeMap, sorted in ascending order by angle with the posit...
A map of Node, indexed by the coordinate of the node.