#include <libosmscout/include/osmscout/routing/RouteDescription.h>
◆ Node()
| osmscout::RouteDescription::Node::Node |
( |
DatabaseId | database, |
|
|
size_t | currentNodeIndex, |
|
|
const std::vector< ObjectFileRef > & | objects, |
|
|
const ObjectFileRef & | pathObject, |
|
|
size_t | targetNodeIndex ) |
◆ AddDescription()
| void osmscout::RouteDescription::Node::AddDescription |
( |
const char * | name, |
|
|
const DescriptionRef & | description ) |
◆ GetCurrentNodeIndex()
| size_t osmscout::RouteDescription::Node::GetCurrentNodeIndex |
( |
| ) |
const |
|
inline |
◆ GetDatabaseId()
| DatabaseId osmscout::RouteDescription::Node::GetDatabaseId |
( |
| ) |
const |
|
inline |
◆ GetDBFileOffset()
| DBFileOffset osmscout::RouteDescription::Node::GetDBFileOffset |
( |
| ) |
const |
|
inline |
◆ GetDescription()
| DescriptionRef osmscout::RouteDescription::Node::GetDescription |
( |
const char * | name | ) |
const |
◆ GetDescriptions()
| const std::list< DescriptionRef > & osmscout::RouteDescription::Node::GetDescriptions |
( |
| ) |
const |
|
inline |
Return a list of descriptions attached to the current node
◆ GetDistance()
| Distance osmscout::RouteDescription::Node::GetDistance |
( |
| ) |
const |
|
inline |
Distance from the start of the route.
◆ GetLocation()
| GeoCoord osmscout::RouteDescription::Node::GetLocation |
( |
| ) |
const |
|
inline |
Location (latitude,longitude) of the node
◆ GetObjects()
| const std::vector< ObjectFileRef > & osmscout::RouteDescription::Node::GetObjects |
( |
| ) |
const |
|
inline |
Return the objects that intersect at the current node index.
◆ GetPathObject()
| ObjectFileRef osmscout::RouteDescription::Node::GetPathObject |
( |
| ) |
const |
|
inline |
Return the path object that connects the current node to the next node.
◆ GetTargetNodeIndex()
| size_t osmscout::RouteDescription::Node::GetTargetNodeIndex |
( |
| ) |
const |
|
inline |
The the index of the target node on the path that is the next node on the route.
◆ GetTime()
| Duration osmscout::RouteDescription::Node::GetTime |
( |
| ) |
const |
|
inline |
Time from the start of the route in h.
◆ HasDescription()
| bool osmscout::RouteDescription::Node::HasDescription |
( |
const char * | name | ) |
const |
◆ HasPathObject()
| bool osmscout::RouteDescription::Node::HasPathObject |
( |
| ) |
const |
|
inline |
There exists a object/path from the current node to the next node in the route.
◆ SetDistance()
| void osmscout::RouteDescription::Node::SetDistance |
( |
Distance | distance | ) |
|
◆ SetLocation()
| void osmscout::RouteDescription::Node::SetLocation |
( |
const GeoCoord & | coord | ) |
|
◆ SetTime()
| void osmscout::RouteDescription::Node::SetTime |
( |
const Timestamp::duration & | duration | ) |
|
The documentation for this class was generated from the following file: