24 #include <geos/export.h> 25 #include <geos/geomgraph/EdgeEnd.h> 26 #include <geos/geom/Location.h> 27 #include <geos/geom/Coordinate.h> 38 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 44 class BoundaryNodeRule;
66 typedef std::set<EdgeEnd*, EdgeEndLT> container;
68 typedef container::iterator iterator;
69 typedef container::const_iterator const_iterator;
70 typedef container::reverse_iterator reverse_iterator;
80 virtual void insert(
EdgeEnd* e) = 0;
93 std::size_t getDegree();
99 reverse_iterator rbegin();
101 reverse_iterator rend();
106 return edgeMap.begin();
112 return edgeMap.end();
115 container& getEdges();
119 virtual void computeLabelling(
const std::vector<std::unique_ptr<GeometryGraph>>&geomGraph);
124 void propagateSideLabels(uint32_t geomIndex);
128 iterator find(
EdgeEnd* eSearch);
130 virtual std::string print()
const;
153 const std::vector<std::unique_ptr<GeometryGraph>>&geom);
159 std::array<geom::Location, 2> ptInAreaLocation;
163 bool checkAreaLabelsConsistent(uint32_t geomIndex);
168 EdgeEndStar::getDegree()
173 inline EdgeEndStar::iterator
179 inline EdgeEndStar::container&
180 EdgeEndStar::getEdges()
185 inline EdgeEndStar::reverse_iterator
191 inline EdgeEndStar::iterator
197 inline EdgeEndStar::reverse_iterator
198 EdgeEndStar::rbegin()
203 inline EdgeEndStar::iterator
204 EdgeEndStar::find(EdgeEnd* eSearch)
209 std::ostream& operator<< (std::ostream&,
const EdgeEndStar&);
A EdgeEndStar is an ordered list of EdgeEnds around a node.
Definition: EdgeEndStar.h:63
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:217
A GeometryGraph is a graph that models a given Geometry.
Definition: GeometryGraph.h:71
void insertEdgeEnd(EdgeEnd *e)
Insert an EdgeEnd into the map.
Definition: EdgeEndStar.h:144
Models the end of an edge incident on a node.
Definition: EdgeEnd.h:54
An interface for rules which determine whether node points which are in boundaries of lineal geometry...
Definition: BoundaryNodeRule.h:52
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:32
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
EdgeEndStar::container edgeMap
A map which maintains the edges in sorted order around the node.
Definition: EdgeEndStar.h:138