I have a (2D) point cloud of reasonable size (say some thousands of points) and a set of (2D) polylines also of a reasonable size. I want to assess the discrepancies between the two geometries and for this I want to find the nearest point to every segment.
This can be solved with the Voronoi diagram of the segments followed by a point location in the planar subdivision it defines. The first construction will take optimal time $O(s\log s)$, and the subsequent search, optimal time $O(p\log s)$.
Anyway, the Voronoi diagram of segments is not an easy construction, nor is the search in the subdivision. So I am after a simpler method, possibly with heuristics that lead to a similar complexity. Can you point me to such methods that would be known ?
In case there is a nice solution to the converse problem (nearest segment to every point), I can work with it as well.