|  | Bridges-C++
    3.2.0
    Bridges(C++API) | 
#include <OSMEdge.h>
Class that hold Open Street Map edges.
Class that holds Open Street Map edges from https://openstreetmap.org
| Public Member Functions | |
| OSMEdge (OSMVertex::OSMVertexID src, OSMVertex::OSMVertexID dest, double dist) | |
| OSMEdge (const OSMEdge *edge) | |
| OSMVertex::OSMVertexID | getSourceVertex () const | 
| void | setSourceVertex (OSMVertex::OSMVertexID src) | 
| OSMVertex::OSMVertexID | getDestinationVertex () const | 
| void | setDestinationVertex (OSMVertex::OSMVertexID dest) | 
| double | getEdgeLength () const | 
| void | setEdgeLength (double l) | 
| 
 | inline | 
Constructor
| src | source vertex of edge | 
| dest | destination vertex of edge | 
| dist | length of edge | 
| 
 | inline | 
Constructor
| edge | edge data to be used for this edge | 
| 
 | inline | 
get destination vertex of edge
| 
 | inline | 
get edge length of edge
| 
 | inline | 
get source vertex of edge
| 
 | inline | 
set destination vertex of edge
| dest | destination vertexID | 
| 
 | inline | 
set edge length
| l | edge length | 
| 
 | inline | 
set source vertex of edge
| src | source vertexID | 
 1.8.13
 1.8.13