6 /** A lat/lon/alt position */
7 typedef struct _Position Position;
15 /** A general definition of a point in the Mapper unit system. */
16 typedef struct _Point Point;
24 /** A WayPoint, which is a Point with a description. */
25 typedef struct _WayPoint WayPoint;
31 /** A Path is a set of PathPoints and WayPoints. */
32 typedef struct _Path Path;
34 Point *head; /* points to first element in array; NULL if empty. */
35 Point *tail; /* points to last element in array. */
36 Point *cap; /* points after last slot in array. */
37 WayPoint *whead; /* points to first element in array; NULL if empty. */
38 WayPoint *wtail; /* points to last element in array. */
39 WayPoint *wcap; /* points after last slot in array. */
46 void path_resize(Path *path, guint size);
47 void path_wresize(Path *path, guint wsize);