Bounding Box of Polyhedron
Version 1.0.2 (1.95 KB) by
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
Cite As
Ayad Al-Rumaithi (2024). Bounding Box of Polyhedron (https://www.mathworks.com/matlabcentral/fileexchange/159943-bounding-box-of-polyhedron), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.