Line to line distance (3D) [FAST]

A function to compute the -minimum- distance between two lines in 3D space
62 Downloads
Updated 15 Jul 2024
Please first check the examples tab (.mlx doc file) here on the right for a complete description.
Once downloaded, typewrite 'doc line_to_line_distance' or 'help line_to_line_distance' in Matlab console for support.
To benefit from the file documentation attached, be sure to download the file, not to just copy and paste it.
Please don't forget to rate it, if this code helped you. Thanks ;-)

Cite As

Nicolas Douillet (2024). Line to line distance (3D) [FAST] (https://github.com/NicolasDouillet/line_to_line_distance/releases/tag/v1.3), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Creating and Concatenating Matrices in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.3

See release notes for this release on GitHub: https://github.com/NicolasDouillet/line_to_line_distance/releases/tag/v1.3

1.2

See release notes for this release on GitHub: https://github.com/NicolasDouillet/line_to_line_distance/releases/tag/v1.2

1.1

+ 4th example, intersecting lines => d = 0, updated help, doc

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.