Distance bewteen 2 cylinders in 3D

Compute the distances between 2 cylinders in 3D as well as the closest points

You are now following this Submission

Compute the distances between 2 cylinders in 3D as well as the closest points

Cite As

Bruno Luong (2026). Distance bewteen 2 cylinders in 3D (https://www.mathworks.com/matlabcentral/fileexchange/68796-distance-bewteen-2-cylinders-in-3d), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2016b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.3

Fix BUG of mex compilation of CONV1.C (wrong flag wrt matlab version)

1.0.2

Add missing conv1.c file and trigger automatically mex compilation.
If you can't compile MEX, replace CONV1 by MATLAB standard CONV

1.0.1

Fix two bugs that might appear when cylinders are aligned or orthogonal

1.0.0