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!