17 #ifndef GEOS_PLANARGRAPH_EDGE_H
18 #define GEOS_PLANARGRAPH_EDGE_H
20 #include <geos/export.h>
22 #include <geos/planargraph/GraphComponent.h>
30 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
35 namespace planargraph {
36 class DirectedEdgeStar;
44 namespace planargraph {
105 setDirectedEdges(de0, de1);
138 std::ostream&
operator<<(std::ostream& os,
const Edge& n);
150 #endif // GEOS_PLANARGRAPH_EDGE_H
std::set< const Edge * > ConstSet
Set of const Edges pointers.
Definition: planargraph/Edge.h:62
Represents a directed edge in a PlanarGraph.
Definition: planargraph/DirectedEdge.h:47
std::set< Edge * > NonConstSet
Set of non-const Edges pointers.
Definition: planargraph/Edge.h:65
Edge(DirectedEdge *de0, DirectedEdge *de1)
Constructs an Edge initialized with the given DirectedEdges.
Definition: planargraph/Edge.h:101
std::vector< DirectedEdge * > dirEdge
The two DirectedEdges associated with this Edge.
Definition: planargraph/Edge.h:76
Edge()
Constructs an Edge whose DirectedEdges are not yet set.
Definition: planargraph/Edge.h:93
std::ostream & operator<<(std::ostream &os, const Edge &n)
Print a Edge.
Represents an undirected edge of a PlanarGraph.
Definition: planargraph/Edge.h:55
std::vector< Edge * > NonConstVect
Vector of non-const Edges pointers.
Definition: planargraph/Edge.h:68
The base class for all graph component classes.
Definition: planargraph/GraphComponent.h:47
A node in a PlanarGraph is a location where 0 or more Edge meet.
Definition: planargraph/Node.h:46
std::vector< const Edge * > ConstVect
Vector of const Edges pointers.
Definition: planargraph/Edge.h:71