Check Cylinders Overlapping
バージョン 1.0.4 (3.13 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 (2025). 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!