Check Cylinder and Ellipsoid Overlapping
Version 1.0.1 (4,35 ko) par
Ayad Al-Rumaithi
Checks if there is overlapping between a cylinder and an ellipsoid
This tool checks if there is overlapping between a cylinder and an ellipsoid. Example file is provided.
function I=Cylinder_Ellipsoid_Overlap(vc1,vc2,d,Ellipsoid)
Input:
vc1 is (3*1) coordinate vector for the center of the first circular base of the cylinder.
vc2 is (3*1) coordinate vector for the center of the second circular base of the cylinder.
d is the diameter of the cylinder.
Ellipsoid is (1*9) array. each cell represent:
(1): radius of ellipsoid at direction 1
(2): radius of ellipsoid at direction 2
(3): radius of ellipsoid 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:
I: true if there is overlap, otherwise it is false
Citation pour cette source
Ayad Al-Rumaithi (2024). Check Cylinder and Ellipsoid Overlapping (https://www.mathworks.com/matlabcentral/fileexchange/126724-check-cylinder-and-ellipsoid-overlapping), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2017b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.1 | Added website. |
||
1.0.0 |