added routingAPI function

This commit is contained in:
Fennel Kora 2024-04-13 16:11:11 -04:00
parent c2ad97a004
commit 6302b988b7

View file

@ -17,4 +17,11 @@ public class HelperFunctions {
double[] returnArray = coords;
return returnArray;
}
public double[][] routingAPI(double[] startCoords, double[] destinationCoords) {
//ideally this would return a series of coordinates, but for the sake of the demo it's just
//going to concatenate the start and end into a 2x2 array with just those two steps
double[][] routeArray = {startCoords, destinationCoords};
return routeArray;
}
}