2D minimal segments distance
Version 1.0.0.0 (2.47 KB) by
Roberto Olmi
Computes the minimal distace between two segments
The algorithm computes the minimal distace between two segments.
It also manage the case of parallel segments and null length segments.
The algorith is inspired by Franz J. Vesely at http://homepage.univie.ac.at/Franz.Vesely/notes/hard_sticks/hst/hst.html
Cite As
Roberto Olmi (2026). 2D minimal segments distance (https://au.mathworks.com/matlabcentral/fileexchange/20907-2d-minimal-segments-distance), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2006a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Deep Learning Toolbox > Train Deep Neural Networks > Function Approximation, Clustering, and Control > Function Approximation and Clustering > Clustering >
Find more on Clustering in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Some bugs found using the function has been fixed. |
