|
coastline 0.0.4
|
A section of the route. More...
#include <track.h>

Public Attributes | |
| struct TrackSection * | child |
| struct TrackSection * | next |
| struct TrackSection * | parent |
| struct TrackSection * | reverseNext |
| u8 | gridMinX |
| u8 | gridMinY |
| u8 | gridMaxX |
| u8 | gridMaxY |
| u16 | pointCount |
| u16 | flags |
| TrackPoint | previousPoint |
| TrackPoint | points [] |
A section of the route.
Its fields join this structure as they are reconstructed.
| struct TrackSection* TrackSection::child |
The first section that branches from this one, or NULL.
| struct TrackSection* TrackSection::next |
The next branch of the same parent, or NULL.
| struct TrackSection* TrackSection::parent |
The first preceding section, linked through reverseNext.
| struct TrackSection* TrackSection::reverseNext |
The next section in a list of preceding sections.
| u8 TrackSection::gridMinX |
The first column of the 32-unit grid of the track the section covers.
| u8 TrackSection::gridMinY |
The first row of the grid the section covers.
| u8 TrackSection::gridMaxX |
The last column of the grid the section covers, inclusive.
| u8 TrackSection::gridMaxY |
The last row of the grid the section covers, inclusive.
| u16 TrackSection::pointCount |
The number of points, without the point at the end of the last.
| u16 TrackSection::flags |
The TRACK_SECTION_ flags.
| TrackPoint TrackSection::previousPoint |
The route point preceding the first point of the section.
| TrackPoint TrackSection::points[] |
The points, and the point at the end of the last.