X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/5a9cffb11d58c725f425828c09c814d1139bbae1..4a050412da32aa6f237c358cfa0c5a3775f21e9a:/src/viktrack.h diff --git a/src/viktrack.h b/src/viktrack.h index 9b32c845..9742a15e 100644 --- a/src/viktrack.h +++ b/src/viktrack.h @@ -101,14 +101,17 @@ void vik_track_marshall ( VikTrack *tr, guint8 **data, guint *len); VikTrack *vik_track_unmarshall (guint8 *data, guint datalen); void vik_track_apply_dem_data ( VikTrack *tr); +/* + * Apply DEM data (if available) - to only the last trackpoint + */ +void vik_track_apply_dem_data_last_trackpoint ( VikTrack *tr ); /* appends t2 to t1, leaving t2 with no trackpoints */ void vik_track_steal_and_append_trackpoints ( VikTrack *t1, VikTrack *t2 ); /* starting at the end, looks backwards for the last "double point", a duplicate trackpoint. - * this is indicative of magic scissors continued use. If there is no double point, - * deletes all the trackpoints. returns new end of the track (or the start if - * there are no double points) + * If there is no double point, deletes all the trackpoints. + * Returns the new end of the track (or the start if there are no double points */ VikCoord *vik_track_cut_back_to_double_point ( VikTrack *tr );