Voronoi Iteration
#Voronoi Iteration code-golfmathgeometry
Given a finite set of points in the plane, output the set vertices of the corresponding Voronoi diagram.
Details
###Details AA vertex of the voronoi diagram is a point of the plane that has the same distance to the three or more closest input points. As usual, you don't have to worry about the rounding issues of limited precision floating point numbers.
###Examples
Examples
[(0,0),(2,0),(0,2),(2,2)] -> [(1,1)]
[(0,0),(1,0)] -> []
[(0,0),(2,0),(0,2)] -> [(1,1)]
Inspired by this question on MO.