The solution was to store a Vector that stores (time, (lat,lon)) and is sorted by time, at which point this is just a simple loop (with a binary search to find the right entry)
2 Likes
The solution was to store a Vector that stores (time, (lat,lon)) and is sorted by time, at which point this is just a simple loop (with a binary search to find the right entry)