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

Description of a location based on the GeoCoord of that location. More...

#include <LocationService.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...
 
double GetDistance () const
 Return the distance to the location in meter. More...
 
Place GetPlace () 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...
 
 LocationAtPlaceDescription (const Place &place)
 
 LocationAtPlaceDescription (const Place &place, double distance, double bearing)
 

Detailed Description

Description of a location based on the GeoCoord of that location.

Constructor & Destructor Documentation

osmscout::LocationAtPlaceDescription::LocationAtPlaceDescription ( const Place place)
osmscout::LocationAtPlaceDescription::LocationAtPlaceDescription ( const Place place,
double  distance,
double  bearing 
)

Member Function Documentation

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

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

double osmscout::LocationAtPlaceDescription::GetDistance ( ) const
inline

Return the distance to the location in meter.

Place osmscout::LocationAtPlaceDescription::GetPlace ( ) const
inline

Return the place this information is refering to.

bool osmscout::LocationAtPlaceDescription::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: