# Voronoi Iteration [tag:code-golf][tag:math][tag:geometry] Given a finite set of points in the plane, output the set vertices of the corresponding Voronoi diagram. ### Details A 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 [(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](https://mathoverflow.net/questions/291208/a-voronoi-iteration-game).