Class that hold Open Street Map edges.  
 More...
#include <OSMEdge.h>
Class that hold Open Street Map edges. 
Class that holds Open Street Map edges from https://openstreetmap.org
Objects from this class are typically not created by the user but contained in the OsmData object returned by bridges::DataSource::getOSMData()
- See also
- Check out how to use OSM data at: https://bridgesuncc.github.io/tutorials/Data_OSM.html
- Author
- Erik Saule, Kalpathi Subramanian 
- Date
- 2/14/19, 12/28/20 
◆ OSMEdge() [1/2]
Constructor 
- Parameters
- 
  
    | src | source vertex of edge |  | dest | destination vertex of edge |  | dist | length of edge |  
 
 
 
◆ OSMEdge() [2/2]
  
  | 
        
          | bridges::dataset::OSMEdge::OSMEdge | ( | const OSMEdge * | edge | ) |  |  | inline | 
 
Constructor 
- Parameters
- 
  
    | edge | edge data to be used for this edge |  
 
 
 
◆ getDestinationVertex()
get destination vertex of edge
- Returns
- destination vertexID 
 
 
◆ getEdgeLength()
  
  | 
        
          | double bridges::dataset::OSMEdge::getEdgeLength | ( |  | ) | const |  | inline | 
 
get edge length of edge
- Returns
- edge length 
 
 
◆ getSourceVertex()
get source vertex of edge
- Returns
- source vertexID 
 
 
◆ setDestinationVertex()
set destination vertex of edge
- Parameters
- 
  
  
 
 
◆ setEdgeLength()
  
  | 
        
          | void bridges::dataset::OSMEdge::setEdgeLength | ( | double | l | ) |  |  | inline | 
 
set edge length
- Parameters
- 
  
  
 
 
◆ setSourceVertex()
set source vertex of edge
- Parameters
- 
  
  
 
 
The documentation for this class was generated from the following file: