libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::Navigation< NodeDescriptionTmpl > Class Template Reference

#include <Navigation.h>

Public Member Functions

const RouteDescription::NodeGetCurrentNode ()
 
double GetDistance ()
 
double GetDistanceFromStart ()
 
double GetDuration ()
 
double GetDurationFromStart ()
 
 Navigation (OutputDescription< NodeDescriptionTmpl > *outputDescr)
 
NodeDescriptionTmpl nextWaypointDescription ()
 
void SetRoute (RouteDescription *newRoute)
 
void SetSnapDistance (double distance)
 
bool UpdateCurrentLocation (const GeoCoord &location, double &minDistance)
 

Static Public Member Functions

static double distanceInDegrees (double d, double latitude)
 

Constructor & Destructor Documentation

template<class NodeDescriptionTmpl >
osmscout::Navigation< NodeDescriptionTmpl >::Navigation ( OutputDescription< NodeDescriptionTmpl > *  outputDescr)
inline

Member Function Documentation

template<class NodeDescriptionTmpl >
static double osmscout::Navigation< NodeDescriptionTmpl >::distanceInDegrees ( double  d,
double  latitude 
)
inlinestatic
template<class NodeDescriptionTmpl >
const RouteDescription::Node& osmscout::Navigation< NodeDescriptionTmpl >::GetCurrentNode ( )
inline
template<class NodeDescriptionTmpl >
double osmscout::Navigation< NodeDescriptionTmpl >::GetDistance ( )
inline
template<class NodeDescriptionTmpl >
double osmscout::Navigation< NodeDescriptionTmpl >::GetDistanceFromStart ( )
inline
template<class NodeDescriptionTmpl >
double osmscout::Navigation< NodeDescriptionTmpl >::GetDuration ( )
inline
template<class NodeDescriptionTmpl >
double osmscout::Navigation< NodeDescriptionTmpl >::GetDurationFromStart ( )
inline
template<class NodeDescriptionTmpl >
NodeDescriptionTmpl osmscout::Navigation< NodeDescriptionTmpl >::nextWaypointDescription ( )
inline
template<class NodeDescriptionTmpl >
void osmscout::Navigation< NodeDescriptionTmpl >::SetRoute ( RouteDescription newRoute)
inline
template<class NodeDescriptionTmpl >
void osmscout::Navigation< NodeDescriptionTmpl >::SetSnapDistance ( double  distance)
inline
template<class NodeDescriptionTmpl >
bool osmscout::Navigation< NodeDescriptionTmpl >::UpdateCurrentLocation ( const GeoCoord &  location,
double &  minDistance 
)
inline

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