From 93851f1da1b51fa9d0064c8157891ed149ed7e50 Mon Sep 17 00:00:00 2001 From: martin-s Date: Sun, 5 May 2013 17:01:12 +0000 Subject: Add:Core:Function to get distance of coordinate list from route path git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5483 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/route.h | 1 + 1 file changed, 1 insertion(+) (limited to 'navit/route.h') diff --git a/navit/route.h b/navit/route.h index 6834d5b84..7a9eefbdc 100644 --- a/navit/route.h +++ b/navit/route.h @@ -96,6 +96,7 @@ struct map_selection *route_rect(int order, struct coord *c1, struct coord *c2, void route_set_destinations(struct route *this_, struct pcoord *dst, int count, int async); int route_get_destinations(struct route *this_, struct pcoord *pc, int count); int route_get_destination_count(struct route *this_); +void route_get_distances(struct route *this, struct coord *c, int count, int *distances); void route_set_destination(struct route *this_, struct pcoord *dst, int async); void route_append_destination(struct route *this_, struct pcoord *dst, int async); void route_remove_nth_waypoint(struct route *this_, int n); -- cgit v1.2.1