Voxels of Prism

Voxels of a prism
1 descarga
Actualizado 24 nov 2023

Ver licencia

This tool finds the voxels of a prism. Example file is provided.
function voxels=Prism2voxels(v1,v2,xp,yp,theta,vs)
Input:
v1: (3*1) vector of the origin point of the first polygonal face .
v2: (3*1) vector of the origin point of the second polygonal face.
xp: (1*N) x-coordinates of the polygonal faces.
yp: (1*N) y-coordinates of the polygonal faces.
theta: angle of rotation around the prism major axis.
vs: voxels size.
output:
voxels is (N*3) coordinate matrix of the centers of N voxels.

Citar como

Ayad Al-Rumaithi (2024). Voxels of Prism (https://www.mathworks.com/matlabcentral/fileexchange/155542-voxels-of-prism), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2017b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0