Bounding Box of Ellipsoid

版本 1.0.1 (1.7 KB) 作者: Ayad Al-Rumaithi
Finds bounding box of an ellipsoid
41.0 次下载
更新时间 2024/9/16

查看许可证

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/

引用格式

Ayad Al-Rumaithi (2024). Bounding Box of Ellipsoid (https://www.mathworks.com/matlabcentral/fileexchange/71711-bounding-box-of-ellipsoid), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2017b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Geometry and Mesh 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.1

Added website

1.0.0