libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::RouteNode::Path Struct Reference

#include <libosmscout/include/osmscout/routing/RouteNode.h>

Public Member Functions

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

Public Attributes

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

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: