Finding nearest point in an efficient way

后端 未结 6 1598
野性不改
野性不改 2020-11-30 07:23

I\'ve got a point in 2d plane for example (x0,y0) and a set of n points (x1,y1)...(xn,yn) and I want to find nearest point to (x0,y0) in a way better than trying all points

6条回答
提交回复
热议问题