|
libosmscout 1.1.1
|
#include <libosmscout/include/osmscout/routing/RoutingService.h>

Public Member Functions | |
| bool | operator== (const VNode &other) const |
| VNode (const DBId ¤tNode, bool currentRestricted) | |
| VNode (const DBId ¤tNode, bool currentRestricted, const ObjectFileRef &object, const DBId &previousNode, bool previousRestricted) | |
Public Attributes | |
| DBId | currentNode |
| FileOffset of this route node. | |
| bool | currentRestricted =false |
| Current node is accessed from restricted way. | |
| DBId | previousNode |
| FileOffset of the previous route node. | |
| bool | previousRestricted =false |
| Previous node was accessed from restricted way. | |
| ObjectFileRef | object |
| The object (way/area) visited from the current route node. | |
Minimum required data for a node in the ClosedSet.
The ClosedSet is the set of routing nodes that have been already handled.
From the VNode list from the last routing node back to the start the route is recalculated by following the previousNode chain.
Some routing nodes may be accessed from two different ways
Restricted way (access=destination) is a way that may be used just in case when start or target is on this way (area of ways).
|
inlineexplicit |
Simple constructor for searching for VNodes in the ClosedSet.
| currentNode | Offset of the node to search for |
|
inline |
Full featured constructor
| currentNode | FileOffset of the current route node |
| object | Type of object used to navigate to this route node |
| previousNode | FileOffset of the previous route node visited |
|
inline |
Equality operator
| other | Other object to compare against |
| DBId osmscout::RoutingService::VNode::currentNode |
FileOffset of this route node.
| bool osmscout::RoutingService::VNode::currentRestricted =false |
Current node is accessed from restricted way.
| ObjectFileRef osmscout::RoutingService::VNode::object |
The object (way/area) visited from the current route node.
| DBId osmscout::RoutingService::VNode::previousNode |
FileOffset of the previous route node.
| bool osmscout::RoutingService::VNode::previousRestricted =false |
Previous node was accessed from restricted way.