navit
0.5.3-trunk
|
A segment in the route graph or path. More...
#include <route_protected.h>
Data Fields | |
struct item | item |
int | flags |
int | len |
int | score |
A segment in the route graph or path.
This is a segment in the route graph or path. A segment represents a driveable way.
int route_segment_data::flags |
Flags e.g. for access, restrictions, segmentation or roundabouts.
Referenced by rm_attr_get(), route_check_roundabout(), route_get_traffic_distortion(), route_graph_add_segment(), route_graph_clone_segment(), route_graph_point_is_endpoint_candidate(), route_graph_process_restriction_segment(), route_graph_set_traffic_distortion(), route_path_add_item_from_graph(), route_seg_speed(), route_segment_data_field_pos(), route_through_traffic_allowed(), route_value_seg(), rp_attr_get(), traffic_message_add_segments(), traffic_route_get_seg_cost(), and traffic_route_prepend().
struct item route_segment_data::item |
The item (e.g. street) that this segment represents.
Referenced by is_turn_allowed(), rm_attr_get(), route_check_roundabout(), route_get_traffic_distortion(), route_graph_add_segment(), route_graph_clone_segment(), route_graph_compute_shortest_path(), route_graph_get_segment(), route_graph_point_update(), route_graph_process_restriction_point(), route_graph_process_restriction_segment(), route_graph_remove_traffic_distortion(), route_graph_segment_is_duplicate(), route_graph_set_traffic_distortion(), route_path_add_item_from_graph(), route_path_new(), route_seg_speed(), route_value_seg(), rp_attr_get(), traffic_message_add_segments(), traffic_point_match_segment_attributes(), traffic_route_get_seg_cost(), and traffic_route_prepend().
int route_segment_data::len |
Length of this segment, in meters
Referenced by rm_attr_get(), route_get_traffic_distortion(), route_graph_add_segment(), route_graph_clone_segment(), route_path_add_item_from_graph(), route_path_add_line(), route_path_update_done(), route_time_seg(), rp_attr_get(), traffic_message_add_segments(), traffic_route_get_seg_cost(), and traffic_route_prepend().
int route_segment_data::score |
Used by the traffic module to give preference to some segments over others
Referenced by route_graph_add_segment(), route_graph_clone_segment(), and traffic_route_get_seg_cost().