Libosmium
2.7.2
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 | Segment (const Segment &)=default |
constexpr | Segment (Segment &&)=default |
Segment & | operator= (const Segment &)=default |
Segment & | operator= (Segment &&)=default |
~Segment ()=default | |
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.
|
inlineexplicitnoexcept |
|
default |
|
default |
|
default |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineprotected |
|
private |
|
private |