Bounding Box of Prism

Finds bounding box of a prism
1 Download
Aktualisiert 24. Nov 2023

Lizenz anzeigen

Finds bounding box of a prism .
function [xb,yb,zb]=bounding_box(v1,v2,x,y,theta)
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.
x: (1*N) x-coordinates of the polygonal faces.
y: (1*N) y-coordinates of the polygonal faces.
theta: angle of rotation around the prism major axis.
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

Zitieren als

Ayad Al-Rumaithi (2024). Bounding Box of Prism (https://www.mathworks.com/matlabcentral/fileexchange/155537-bounding-box-of-prism), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2017b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Tags Tags hinzufügen

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0