Bounding Box of Polyhedron
Versione 1.0.2 (1,95 KB) da
Ayad Al-Rumaithi
Finds the bounding box of a polyhedron
This function finds the bounding box of a polyhedron with example file. The polyhedron faces should be divided into triangles.
function [xb,yb,zb]=bounding_box(V)
Input:
V: (Nv,3) vertices matrix
Output:
xb: [xmin xmax] x boundaries of the bounding box
yb: [xmin xmax] y boundaries of the bounding box
zb: [xmin xmax] z boundaries of the bounding box
Cita come
Ayad Al-Rumaithi (2024). Bounding Box of Polyhedron (https://www.mathworks.com/matlabcentral/fileexchange/159943-bounding-box-of-polyhedron), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2017b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.