It seems no-one has heard of a routine which does what I need, so I spent some time making one myself. Anyone who stumble across this thread with a similar question, can check it out HERE.
Voronoi boundaries
조회 수: 23 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
채택된 답변
Jakob Sievers
2012년 1월 3일
댓글 수: 3
Bruno Lopes
2022년 2월 20일
You're a kind soul, man. Thank you very much. I hope there are more people like you in the scientific world.
추가 답변 (3개)
the cyclist
2011년 12월 5일
I am not very familiar with these techniques, but I wonder if the convhull() or trisurf() commands are closer to what you want.
댓글 수: 0
Preetham Manjunatha
2022년 2월 8일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Voronoi Diagram에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!