Voronoi boundaries
Afficher commentaires plus anciens
Hi guys
the program voronoiDiagram gives the vertices of a voronoi decomposition of a set of scattered datapoints. These vertices do, however, extend beyond the rectangular domain containing the datapoints. Does anyone know of a routine/method/program which allows the vertices to extend no further than the boundary of the domain?
I have been trying, in vain, to set up my own routine based on the voronoiDiagram output, but it has become a bit more unmanageable than I had foreseen.
Thanks in advance!
Réponse acceptée
Plus de réponses (3)
the cyclist
le 5 Déc 2011
0 votes
I am not very familiar with these techniques, but I wonder if the convhull() or trisurf() commands are closer to what you want.
S
le 20 Juin 2012
0 votes
Many thanks, I was just looking for something like this.
Preetham Manjunatha
le 8 Fév 2022
0 votes
If the Voronoi Diagram bounded region is rectangle or square, here is the link function to clip the extending edges of the Voronoi Diagram for rectangular/ square region. Rigorously tested on the random points, this function can process an input data set of 2000 seed points in 2D in about 0.015 seconds on average.
Catégories
En savoir plus sur Voronoi Diagram dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!