Arbitrary Square Bounded Voronoi Diagram
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 (2024). 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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
SquareBV/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |