Bounding Box of Ellipsoid

Finds bounding box of an ellipsoid
40 descargas
Actualizado 31 may 2019

Ver licencia

Finds bounding box of an ellipsoid using the formulas in the reference [1].

function [xb, yb, zb]=bounding_box(Ellipsoid)

Input
Ellipsoid is (1*9) array. each cell represent:
(1): radius of ellipsoids at direction 1
(2): radius of ellipsoids at direction 2
(3): radius of ellipsoids at direction 3
(4): x-cooridante of centroid
(5): y-coordinate of centroid
(6): z-coordinate of centroid
(7): Inclination angle 1
(8): Inclination angle 2
(9): Inclination angle 3
Output
xb: [xmin xmax] x bounadries of the bounding box
yb: [xmin xmax] y bounadries of the bounding box
zb: [xmin xmax] z bounadries of the bounding box

References:
[1] Barnes, T. "Exact bounding boxes for spheres/ellipsoids." (2014).
https://tavianator.com/exact-bounding-boxes-for-spheres-ellipsoids/

Citar como

Ayad Al-Rumaithi (2024). Bounding Box of Ellipsoid (https://www.mathworks.com/matlabcentral/fileexchange/71711-bounding-box-of-ellipsoid), 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
Categorías
Más información sobre Geometry and Mesh en Help Center y MATLAB Answers.
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