navit
0.5.3-trunk
|
Data for a segment in the route graph. More...
#include <route_protected.h>
Data Fields | |
struct item * | item |
int | offset |
int | flags |
int | len |
int | maxspeed |
struct size_weight_limit | size_weight |
int | dangerous_goods |
int | score |
Data for a segment in the route graph.
int route_graph_segment_data::dangerous_goods |
int route_graph_segment_data::flags |
Flags for this segment
struct item* route_graph_segment_data::item |
The item which this segment is part of
int route_graph_segment_data::len |
The length of this segment
Referenced by route_graph_add_street(), and traffic_location_populate_route_graph().
int route_graph_segment_data::maxspeed |
The maximum speed allowed on this segment in km/h, -1 if not known
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
int route_graph_segment_data::score |
Used by the traffic module to give preference to some segments over others
struct size_weight_limit route_graph_segment_data::size_weight |
Size and weight limits for this segment