Check Cylinders Overlapping
版本 1.0.4 (3.1 KB) 作者:
Ayad Al-Rumaithi
Checks if there is overlapping between two cylinders
This tool checks if there is overlapping between two cylinders. Example file is provided.
function I=Cylinders_Overlap(vca1,vca2,da,vcb1,vcb2,db)
Input:
vca1 is (3*1) coordinate vector for the center of the first circular base of cylinder a.
vca2 is (3*1) coordinate vector for the center of the second circular base of cylinder a.
da is the diameter of cylinder a.
vcb1 is (3*1) coordinate vector for the center of the first circular base of cylinder b.
vcb2 is (3*1) coordinate vector for the center of the second circular base of cylinder b.
db is the diameter of cylinder b.
output:
I: true if there is overlap, otherwise it is false
引用格式
Ayad Al-Rumaithi (2024). Check Cylinders Overlapping (https://www.mathworks.com/matlabcentral/fileexchange/126445-check-cylinders-overlapping), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2017b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!