|
Libosmium
2.22.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. | |
| constexpr osmium::Location | second () const noexcept |
| Return second Location of Segment. | |
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 |