Libosmium
2.5.3
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <undirected_segment.hpp>
Public Member Functions | |
UndirectedSegment (const osmium::Location &location1, const osmium::Location &location2) | |
UndirectedSegment (const UndirectedSegment &)=default | |
UndirectedSegment (UndirectedSegment &&)=default | |
UndirectedSegment & | operator= (const UndirectedSegment &)=default |
UndirectedSegment & | operator= (UndirectedSegment &&)=default |
~UndirectedSegment ()=default | |
![]() | |
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 | |
OSMIUM_CONSTEXPR osmium::Location | first () const noexcept |
Return first Location of Segment. More... | |
OSMIUM_CONSTEXPR osmium::Location | second () const noexcept |
Return second Location of Segment. More... | |
Additional Inherited Members | |
![]() | |
void | swap_locations () |
Undirected connection between two Locations. The first Location is always equal or "smaller" than the second Location, ie to the left and down.
|
inlineexplicit |
|
default |
|
default |
|
default |
|
default |
|
default |