libosmscout
0.1
|
#include <LocationDescriptionService.h>
Public Member Functions | |
Bearing | GetBearing () const |
Return the bearing you have to go to from the place for 'distance' to reach the location. More... | |
GeoCoord | GetCrossing () const |
Distance | GetDistance () const |
Return the distance to the location. More... | |
std::list< Place > | GetWays () const |
Return the place this information is refering to. More... | |
bool | IsAtPlace () const |
'true' if the location is at the place itself (in spite of 'close to...') More... | |
LocationCrossingDescription (const GeoCoord &crossing, const std::list< Place > &ways) | |
LocationCrossingDescription (const GeoCoord &crossing, const std::list< Place > &ways, const Distance &distance, const Bearing &bearing) | |
Description of a location based on a nearby crossing
osmscout::LocationCrossingDescription::LocationCrossingDescription | ( | const GeoCoord & | crossing, |
const std::list< Place > & | ways | ||
) |
osmscout::LocationCrossingDescription::LocationCrossingDescription | ( | const GeoCoord & | crossing, |
const std::list< Place > & | ways, | ||
const Distance & | distance, | ||
const Bearing & | bearing | ||
) |
|
inline |
Return the bearing you have to go to from the place for 'distance' to reach the location.
|
inline |
|
inline |
Return the distance to the location.
|
inline |
Return the place this information is refering to.
|
inline |
'true' if the location is at the place itself (in spite of 'close to...')