Arbitrary Square Bounded Voronoi Diagram
Version 1.0.0.0 (8.7 KB) by
Meng Sang Ong
Compute individual Voronoi cell area of 2D point sets bounded in an arbitrary square
This function compute the individual Voronoi cell area of point sets bounded in an arbitrary square.
Inputs:
x : M x 1 array of x-coordinates
y : M x 1 array of y-coordinates
toggleplot : 1 to turn on figures, 0 to turn off figures;
[x1,x2,y1,y2] : 1 x 4 array of square edges
Outputs:
CellArea : M x 1 array of Voronoi cell area bounded in an arbitrary square
Usage:
CellArea=SquareBV(x,y,toggleplot,[x1,x2,y1,y2])
CellArea=SquareBV(x,y,toggleplot)
Cite As
Meng Sang Ong (2026). Arbitrary Square Bounded Voronoi Diagram (https://www.mathworks.com/matlabcentral/fileexchange/30353-arbitrary-square-bounded-voronoi-diagram), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Voronoi Diagram in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
