Volume, Surface Area, and Centroid of Polyhedron

Finds volume, surface area, and centroid of a polyhedron
61 descargas
Actualizado 10 Jun 2021

Ver licencia

This function find the volume, surface area, and centroid of a polyhedron. 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.
[Vol, A, Cx, Cy, Cz]=Polyhedron_VAC(V,F)
Input:
V: (Nv,3) vertices matrix
F: (Nf,3) faces matrix
Output:
Vol: volume
A: surface area
Cx, Cy, and Cz: x,y, and z coordinates of centroid, respectively.

Citar como

Ayad Al-Rumaithi (2024). Volume, Surface Area, and Centroid of Polyhedron (https://www.mathworks.com/matlabcentral/fileexchange/93875-volume-surface-area-and-centroid-of-polyhedron), 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