필터 지우기
필터 지우기

voronoi structure in 3 dimensions

조회 수: 8 (최근 30일)
21did21
21did21 2013년 6월 1일
댓글: Kalyan Bhattacharjee 2014년 3월 3일
Hi world,
but i don't understand how can i make this...
i have tried this code: clear all;close all;clc; X=[0 0 0;1 0 0;1 1 0;0 1 0;0 0 1;1 0 1;1 1 1;0 1 1]; [V,C] = voronoin(X,{'Qbb','QJ'}); K = convhulln(V,{'Qt','Pp'}); patch('faces', K, 'Vertices',V)
but i don't really understand...
can you
  댓글 수: 2
Chris Argy
Chris Argy 2013년 7월 15일
Its a bit more complicated than that. You need to bound the 3D Voronoi and that is done by reflecting the each surface and edge of the cube. Create some points inside your initial square in 2D. Reflect the points in respect to the square's edge. Finally you will have your initial points plus another 4 clusters around them. Then for all the points apply the command and that will bind the Voronoi.
Kalyan Bhattacharjee
Kalyan Bhattacharjee 2014년 3월 3일
Hi Chris,
For 3D Voronoi...could you please elaborate on how to take reflection point set about the edge. I am trying to accomplish the above simulation pic given by 21did21 there.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Voronoi Diagram에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by