libosmscout  0.1
osmscout::RouteNode::Path Struct Reference

#include <RouteNode.h>

Public Member Functions

bool IsRestricted (Vehicle vehicle) const
 
bool IsUsable (Vehicle vehicle) const
 

Public Attributes

Distance distance
 Distance from the current route node to the target route node. More...
 
uint8_t flags
 Certain flags. More...
 
Id id
 id of the targeting route node More...
 
uint8_t objectIndex
 The index of the way to use from this route node to the target route node. More...
 

Detailed Description

A single path that starts at the given route node. A path contains a number of information that are relevant for the router.

Member Function Documentation

◆ IsRestricted()

bool osmscout::RouteNode::Path::IsRestricted ( Vehicle  vehicle) const
inline

◆ IsUsable()

bool osmscout::RouteNode::Path::IsUsable ( Vehicle  vehicle) const
inline

Member Data Documentation

◆ distance

Distance osmscout::RouteNode::Path::distance

Distance from the current route node to the target route node.

◆ flags

uint8_t osmscout::RouteNode::Path::flags

Certain flags.

◆ id

Id osmscout::RouteNode::Path::id

id of the targeting route node

◆ objectIndex

uint8_t osmscout::RouteNode::Path::objectIndex

The index of the way to use from this route node to the target route node.


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