voronoi

fun voronoi(bounds: Rectangle): Voronoi(source)

Generates a Voronoi diagram based on the current Delaunay triangulation and the provided bounds.

Return

A Voronoi instance representing the resulting Voronoi diagram.

Parameters

bounds

A rectangle defining the boundaries within which the Voronoi diagram will be generated.