Clipped Voronoi Diagram

version (6.06 KB) by David González
Returns 2D clipped Voronoi Diagram of a cloud of points. Valid for all kinds of domains, holes...


Updated 20 Jul 2010

View License

It's a modification of the initial function voronoi.m
In order to avoid the loops 'for' in the code, a lot of memory is needed. Working to solve it.

Use functions like PointLocation, DelaunayTri, so the code works in last versions of MatLab. In addition, in domains with holes and degenerate meshes (regular distribution of nodes) certain problems can appear. Working on it.

Cite As

David González (2022). Clipped Voronoi Diagram (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!