Voxels of Polyhedron

버전 1.0.1 (2.9 KB) 작성자: Ayad Al-Rumaithi
Voxels of a polyhedron
다운로드 수: 1
업데이트 날짜: 2024/2/21

라이선스 보기

This tool finds the voxels of a polyhedron. Example file is provided. The polyhedron faces should be divided into triangles. The numbering of all triangles faces should be consistent. Either all of them in clock wise or counter clock wise direction as seen from the outside.
function voxels=Polyhedron2voxels(V,F,vs)
Input:
V: (Nv,3) vertices matrix
F: (Nf,3) faces matrix
vs is voxels size.
output:
voxels is (N*3) coordinate matrix of the centers of N voxels.

인용 양식

Ayad Al-Rumaithi (2024). Voxels of Polyhedron (https://www.mathworks.com/matlabcentral/fileexchange/159953-voxels-of-polyhedron), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2023b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

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

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

description

1.0.0