How can I plot a voronoi diagram with a limited area?

6 ビュー (過去 30 日間)
Matheus
Matheus 2013 年 8 月 26 日
コメント済み: Bruno Lopes 2022 年 2 月 20 日
Hello people, I want some ideas on how to visualize a 3D plot of a voronoi, using voronoin, but I want to see also the unbounded cells, trying to put the diagram inside a box. How can I do it?
Thank you in advance.

回答 (1 件)

Preetham Manjunatha
Preetham Manjunatha 2022 年 2 月 9 日
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.

カテゴリ

Help Center および File ExchangeVoronoi Diagram についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by