Check Cylinders Overlapping

Checks if there is overlapping between two cylinders
12 Downloads
Updated 23 Mar 2023

View License

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

Cite As

Ayad Al-Rumaithi (2024). Check Cylinders Overlapping (https://www.mathworks.com/matlabcentral/fileexchange/126445-check-cylinders-overlapping), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.3

check in both ways

1.0.2

typo

1.0.1

description

1.0.0