16 #ifndef GEOS_PLANARGRAPH_EDGE_H
17 #define GEOS_PLANARGRAPH_EDGE_H
19 #include <geos/export.h>
21 #include <geos/planargraph/GraphComponent.h>
29 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
34 namespace planargraph {
35 class DirectedEdgeStar;
43 namespace planargraph {
104 setDirectedEdges(de0, de1);
137 std::ostream&
operator<<(std::ostream& os,
const Edge& n);
149 #endif // GEOS_PLANARGRAPH_EDGE_H
std::set< const Edge * > ConstSet
Set of const Edges pointers.
Definition: planargraph/Edge.h:61
Represents a directed edge in a PlanarGraph.
Definition: planargraph/DirectedEdge.h:46
std::set< Edge * > NonConstSet
Set of non-const Edges pointers.
Definition: planargraph/Edge.h:64
Edge(DirectedEdge *de0, DirectedEdge *de1)
Constructs an Edge initialized with the given DirectedEdges.
Definition: planargraph/Edge.h:100
std::vector< DirectedEdge * > dirEdge
The two DirectedEdges associated with this Edge.
Definition: planargraph/Edge.h:75
Edge()
Constructs an Edge whose DirectedEdges are not yet set.
Definition: planargraph/Edge.h:92
Represents an undirected edge of a PlanarGraph.
Definition: planargraph/Edge.h:54
std::vector< Edge * > NonConstVect
Vector of non-const Edges pointers.
Definition: planargraph/Edge.h:67
The base class for all graph component classes.
Definition: planargraph/GraphComponent.h:46
A node in a PlanarGraph is a location where 0 or more Edge meet.
Definition: planargraph/Node.h:45
std::ostream & operator<<(std::ostream &, const DirectedEdge &)
Output operator.
std::vector< const Edge * > ConstVect
Vector of const Edges pointers.
Definition: planargraph/Edge.h:70