3D_voronoi_cuboid_b​ounded

버전 1.0.4 (5.35 KB) 작성자: Rémy Bretin
Constrain the vertices of a Voronoi decomposition inside the input rectangular cuboid domain.
다운로드 수: 527
업데이트 날짜: 2020/4/2

라이선스 보기

This routine performs a Voronoi decomposition of an input dataset and constrains the vertices to the input bounded rectangular cuboid domain.

I know that this kind of file already exists, but they had some issues and were not usable for me specific needs. This version works for any type of rectangular cuboid. There are no restrictions for the input seeds: they can be placed far or close from the cuboid domain, inside or outside. The only restriction is that the domain must form a rectangular cuboid.

The file can run as a stand-alone but it would be better to install geom3d toolbox and the function
"mergeCoplanarFaces" used to avoid unnecessary vertices.

인용 양식

Rémy Bretin (2024). 3D_voronoi_cuboid_bounded (https://www.mathworks.com/matlabcentral/fileexchange/74742-3d_voronoi_cuboid_bounded), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
도움

받음: geom3d

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.4

Add some lines of code to suppress all unnecessary vertices that appeared in some specific cases due to round-off errors.

1.0.3

Added an image

1.0.2

I compacted the two versions into one with conditional test of "mergeCoplanarFaces" file existence.

1.0.1

Just deleted some unnecessary comments

1.0.0