Fréchet distanceIn mathematics, the Fréchet distance is a measure of similarity between curves that takes into account the location and ordering of the points along the curves. It is named after Maurice Fréchet.https://en.wikipedia.org/wiki/Fr%C3%A9chet_distance