libosmscout  0.1
osmscout::LocationCrossingDescription Class Referencefinal

#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< PlaceGetWays () 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)
 

Detailed Description

Description of a location based on a nearby crossing

Constructor & Destructor Documentation

◆ LocationCrossingDescription() [1/2]

osmscout::LocationCrossingDescription::LocationCrossingDescription ( const GeoCoord crossing,
const std::list< Place > &  ways 
)

◆ LocationCrossingDescription() [2/2]

osmscout::LocationCrossingDescription::LocationCrossingDescription ( const GeoCoord crossing,
const std::list< Place > &  ways,
const Distance distance,
const Bearing bearing 
)

Member Function Documentation

◆ GetBearing()

Bearing osmscout::LocationCrossingDescription::GetBearing ( ) const
inline

Return the bearing you have to go to from the place for 'distance' to reach the location.

◆ GetCrossing()

GeoCoord osmscout::LocationCrossingDescription::GetCrossing ( ) const
inline

◆ GetDistance()

Distance osmscout::LocationCrossingDescription::GetDistance ( ) const
inline

Return the distance to the location.

◆ GetWays()

std::list<Place> osmscout::LocationCrossingDescription::GetWays ( ) const
inline

Return the place this information is refering to.

◆ IsAtPlace()

bool osmscout::LocationCrossingDescription::IsAtPlace ( ) const
inline

'true' if the location is at the place itself (in spite of 'close to...')


The documentation for this class was generated from the following files: