navit  0.5.3-trunk
route_graph_segment_data Struct Reference

Data for a segment in the route graph. More...

#include <route_protected.h>

Data Fields

struct itemitem
 
int offset
 
int flags
 
int len
 
int maxspeed
 
struct size_weight_limit size_weight
 
int dangerous_goods
 
int score
 

Detailed Description

Data for a segment in the route graph.

Field Documentation

◆ dangerous_goods

int route_graph_segment_data::dangerous_goods

◆ flags

int route_graph_segment_data::flags

Flags for this segment

◆ item

struct item* route_graph_segment_data::item

The item which this segment is part of

◆ len

int route_graph_segment_data::len

The length of this segment

Referenced by route_graph_add_street(), and traffic_location_populate_route_graph().

◆ maxspeed

int route_graph_segment_data::maxspeed

The maximum speed allowed on this segment in km/h, -1 if not known

◆ offset

int route_graph_segment_data::offset

If the item passed in "item" is segmented (i.e. divided into several segments), this indicates the position of this segment within the item

◆ score

int route_graph_segment_data::score

Used by the traffic module to give preference to some segments over others

◆ size_weight

struct size_weight_limit route_graph_segment_data::size_weight

Size and weight limits for this segment


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