33 src_vertex(src), dest_vertex(dest), length(dist) {
37 dest_vertex(edge->dest_vertex), length(edge->length) {
70 this->dest_vertex = dest;
OSMVertex::OSMVertexID getSourceVertex() const
Definition: OSMEdge.h:45
void setDestinationVertex(OSMVertex::OSMVertexID dest)
Definition: OSMEdge.h:69
OSMEdge(const OSMEdge *edge)
Definition: OSMEdge.h:36
void setEdgeLength(double l)
Definition: OSMEdge.h:85
long OSMVertexID
Definition: OSMVertex.h:30
Class that hold Open Street Map edges.
Definition: OSMEdge.h:21
OSMVertex::OSMVertexID getDestinationVertex() const
Definition: OSMEdge.h:61
these methods convert byte arrays in to base64 codes and are used in BRIDGES to represent the color a...
Definition: alltypes.h:4
OSMEdge(OSMVertex::OSMVertexID src, OSMVertex::OSMVertexID dest, double dist)
Definition: OSMEdge.h:32
void setSourceVertex(OSMVertex::OSMVertexID src)
Definition: OSMEdge.h:53
double getEdgeLength() const
Definition: OSMEdge.h:77