Note: In mathematics, a Voronoi diagram is a special kind of decomposition of a metric space, determined by distances to a specified family of objects (subsets) in the space.
In this tutorial you will learn:
– Get all polygons of an object.
– Calculate distance between an object and a polygon
(between a Null object and a point of the polygon).
– Add polygon, based on distance, to a selection.
Here you can download the source used in the tutorial.
Note: This is only a 2D solution. I’m still investigation a 3D solution. Any help is welcome!