libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::LocationCrossingDescription Class Referencefinal

Description of a location based on a nearby crossing. More...

#include <LocationDescriptionService.h>

Public Member Functions

double GetBearing () const
 Return the bearing you have to go to from the place for 'distance' meter to reach the location. More...
 
GeoCoord GetCrossing () const
 
double GetDistance () const
 Return the distance to the location in meter. More...
 
const 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, double distance, double bearing)
 

Detailed Description

Description of a location based on a nearby crossing.

Constructor & Destructor Documentation

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

Member Function Documentation

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

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

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

Return the distance to the location in meter.

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

Return the place this information is refering to.

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: