Quote:Original post by ApochPiQ
Voronoi diagrams are highly accurate but extremely inefficient in space - the figure O(n^3) sticks in my mind but I don't know for sure if that's correct off the top of my head. In practical terms, this means that a Voronoi-based solution will cost a ridiculous amount of memory for large numbers of points.
Are you certain? Seems to me that Euler's relationship would only yield a linear number of triangles in a triangulation, and thus a linear number of edges. So, it would only be a question of storing a linear-space search tree for the Delaunay triangulation, find the containing triangle in log-time, and then test the three vertices for proximity...