Check Cylinders Overlapping

版本 1.0.4 (3.1 KB) 作者: Ayad Al-Rumaithi
Checks if there is overlapping between two cylinders
14.0 次下载
更新时间 2024/9/24

查看许可证

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!
版本 已发布 发行说明
1.0.4

Added website.

1.0.3

check in both ways

1.0.2

typo

1.0.1

description

1.0.0