|
| Track (trackpoint *tpl, int tc, KOOlist *kl, int kc) |
|
| Track (Neighbour **narray, int nc) |
| ordinary way to create a Track: from a list of Neighbour
|
|
| Track (double **KOOarray, int count) |
| Track object without height information.
|
|
| Track (double *d, double *h, double *lat, double *lon, int count) |
| Track object without BTP reference, e.g. when dealing with gpx files.
|
|
| Track (Track *tracktocopy) |
| deep copy of a Track object
|
|
void | add (trackpoint *tpl, int tc, KOOlist *kl, int kc) |
|
void | add (Track *t2) |
|
void | get_data_ref (trackpoint **tpl, int *tc, KOOlist **kl, int *kc) |
|
double ** | get_d_h_array () |
| returns reference
|
|
double ** | get_d_h_array_copy () |
| returns deep copy
|
|
double ** | get_KOOa () |
| returns reference
|
|
double ** | get_KOOa_copy () |
| returns deep copy
|
|
long int | get_array_length () |
|
long int | get_KOOa_length () |
|
float | get_height_meters () |
|
float | get_height_meters (float dmin, float dmax) |
| calculates altitude gain on a section of the track
|
|
float | get_bend () |
| return serpentine index More...
|
|
KOO * | get_last_KOO () |
|
double | get_length () |
| returns Track length [km]
|
|
short | notNULL () |
| is track empty or not
|
|
void | to_gpx (char *filename) |
| save to gpx file
|
|
void | to_binary_KOO (char *filename) |
| save binary KOOa to file (website)
|
|
void | delete_cross (int nr) |
| deletes last nr cross of Track
|
|
void | delete_to_cross (KOO *k) |
| deletes cross after k
|
|
void | delete_complete () |
|
short | extract_KOO (KOO *k, double d) |
| creates KOO refering distance point d
|
|
short | extract_h (double d, double *h) |
| creates double for height refering distance point d
|
|
short | extract_azimtut (double d, double *azimut) |
| extract way direction at distance point d
|
|
short | next_d (double lat, double lon, double *d) |
| searches for closest point on track to point (lat,lon) More...
|
|
short | next_cross (double clickedlat, double clickedlon, KOO **kdot, float maxd) |
| stores cross in kdot which is closest to (clickedlat,clickedlon)
|
|
short | near_check (double lat, double lon, double limit) |
| check if point (lat,lon) is closer to track then limit
|
|
void | adapt_brect (double *latmin, double *latmax, double *lonmin, double *lonmax) |
| increases rect to contain track, if necessary
|
|
void | get_brect (double *latmin, double *latmax, double *lonmin, double *lonmax) |
| return bounding rect of Track
|
|
int | owns (KOO *k) |
|
void | get_anchors (float d, KOO **kfrom, KOO **kto) |
| check if k is an element of Track
|
|
short | found_anchors (double clickedlat, double clickedlon, float maxd, KOO **kfrom, KOO **kto) |
|
KOO | get_firstKOO () |
|
KOO | get_lastKOO () |
|
void | invert () |
|
void | trim_left (float d) |
|
void | trim_right (float d) |
|
void | trim_left (KOO *k) |
|
void | trim_right (KOO *k) |
|
short | toggle_marker (KOO *k) |
| a KOO of the track can be marked or not, used for drag&drop routing
|
|
official representation of Track in BTP3
This class is frequently used by all routing algorithm to create tracks from Neighbour array and afterwards modify the Track.
Data is stored in arrays d_h_array and KOOa. Every function modifying the Track will realloc these arrays.
Definition at line 14 of file track.h.