I have two lists with tuples (coordinates), for example:
some_pt1 = [(10.76,2.9),(3.24,4.28),(7.98,1.98),(3.21,9.87)]
some_pt2 = [(11.87,6.87), (67.87,8.88), (44.44, 6.78), (9.81, 1.09), (6.91, 0.56), (8.76, 8.97), (8.21, 71.66)]
- each value in the tuples is a flat
- the lists are not in the same length
I what to find the two closest points between the two lists. I don't know how, maybe it is possible to do it using distances. I hope there is a more efficient way to do this cause I need this function to work as fast as possible (it is a part of something bigger).