voronoi.find(x,y)
finds the nearest cell to the point (x,y)
.
- Red: found
- Orange: used
- Yellow: tested
Usage:
Original work by Philippe Rivière for d3-voronoi (available since v4.3.0).
See also the Spherical geoVoronoi.find()
.
Voronoi tesselation forked from mbostock's block.