This tool finds the voxels of a cylinder. Example file is provided.
function voxels=Cylinder2voxels(vc1,vc2,d,vs)
Input:
vc1 is (3*1) coordinate vector for the center of the first circular base of the cylinder.
vc2 is (3*1) coordinate vector for the center of the second circular base of the cylinder.
d is the diameter of the cylinder.
vs is voxels size.
output:
voxels is (N*3) coordinate matrix of the centers of N voxels.
인용 양식
Ayad Al-Rumaithi (2024). Voxels of Cylinder (https://www.mathworks.com/matlabcentral/fileexchange/126650-voxels-of-cylinder), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2017b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0 |