#include <cartotype_navigation.h>
A vehicle type used in routing.
◆ CyclingAllowed()
bool CartoType::TVehicleType::CyclingAllowed |
( |
| ) |
const |
|
inline |
True if cycling (access to cycle routes) is allowed.
◆ Normalize()
void CartoType::TVehicleType::Normalize |
( |
| ) |
|
|
inline |
Normalizes the vehicle type: ensures that KArcOtherAccessFlag is set if and only if vehicle details are given, and that weights and dimensions are non-negative.
◆ ObeysOneWay()
bool CartoType::TVehicleType::ObeysOneWay |
( |
| ) |
const |
|
inline |
True if this vehicle type obeys one-way restrictions. Pedestrian types usually do not.
◆ operator==()
bool CartoType::TVehicleType::operator== |
( |
const TVehicleType & |
aOther | ) |
const |
|
inline |
◆ WalkingAllowed()
bool CartoType::TVehicleType::WalkingAllowed |
( |
| ) |
const |
|
inline |
True if walking (access to pedestrian routes) is allowed.
◆ iAccessFlags
Flags taken from KArcWrongWayFlag ... KArcOtherAccessFlag indicating the vehicle type. Arcs with restrictions matching any of these flags will not be taken.
◆ iAxleLoad
double CartoType::TVehicleType::iAxleLoad = 0 |
The vehicle's axle load in metric tons. Values of zero or less mean 'unknown'.
◆ iDoubleAxleLoad
double CartoType::TVehicleType::iDoubleAxleLoad = 0 |
The vehicle's double axle load in metric tons. Values of zero or less mean 'unknown'.
◆ iHazMat
bool CartoType::TVehicleType::iHazMat = false |
True if the vehicle is carrying hazardous materials.
◆ iHeight
double CartoType::TVehicleType::iHeight = 0 |
The vehicle's height in meters. Values of zero or less mean 'unknown'.
◆ iLength
double CartoType::TVehicleType::iLength = 0 |
The vehicle's length in meters. Values of zero or less mean 'unknown'.
◆ iTripleAxleLoad
double CartoType::TVehicleType::iTripleAxleLoad = 0 |
The vehicle's triple axle weight in metric tons. Values of zero or less mean 'unknown'.
◆ iWeight
double CartoType::TVehicleType::iWeight = 0 |
The vehicle's weight in metric tons. Values of zero or less mean 'unknown'.
◆ iWidth
double CartoType::TVehicleType::iWidth = 0 |
The vehicle's width in meters. Values of zero or less mean 'unknown'.
The documentation for this class was generated from the following file: