Finds the bounding box of a polyhedron
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Bounding Box of Polyhedron (https://au.mathworks.com/matlabcentral/fileexchange/159943-bounding-box-of-polyhedron), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.2 (1.95 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
