Finding nearest point in an efficient way

Use a quad-tree for 2D
http://en.wikipedia.org/wiki/Quadtree

Leave a Comment