Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <segment.hpp>
Public Member Functions | |
constexpr | Segment (const osmium::Location &location1, const osmium::Location &location2) noexcept |
constexpr osmium::Location | first () const noexcept |
Return first Location of Segment. More... | |
constexpr osmium::Location | second () const noexcept |
Return second Location of Segment. More... | |
Protected Member Functions | |
void | swap_locations () |
Private Attributes | |
osmium::Location | m_first |
osmium::Location | m_second |
A Segment is the directed connection between two Locations.
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineprotected |
|
private |
|
private |