navit  0.5.3-trunk
route_path_segment Struct Reference

A segment in the route path. More...

Data Fields

struct route_path_segmentnext
 
struct route_segment_datadata
 
int direction
 
unsigned ncoords
 
struct coord c [0]
 

Detailed Description

A segment in the route path.

This is a segment in the route path.

Field Documentation

◆ c

struct coord route_path_segment::c[0]

Pointer to the ncoords coordinates of this segment

Referenced by route_path_add_item_from_graph(), route_path_add_line(), and route_path_get_distances().

◆ data

struct route_segment_data* route_path_segment::data

◆ direction

int route_path_segment::direction

Order in which the coordinates are ordered. >0 means "First coordinate of the segment is the first coordinate of the item", <=0 means reverse.

Referenced by rm_attr_get(), route_path_add_item_from_graph(), and route_path_add_line().

◆ ncoords

unsigned route_path_segment::ncoords

How many coordinates does this segment have?

Referenced by route_path_add_item_from_graph(), route_path_add_line(), and route_path_get_distances().

◆ next


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