Intersection of two lines in 2D

Version 1.1.0.0 (1.16 KB) by Andr?
Takes four points, gives intersection of their connecting lines
1.2K Downloads
Updated 20 Oct 2009

View License

Extremely basic tool, saves the drudgery of doing it yourself.
Takes a,b,u,v (points in the form [ x y]) and computes where the lines a->b and u->v will intersect.
Returns point.
No error checking.

Cite As

Andr? (2024). Intersection of two lines in 2D (https://www.mathworks.com/matlabcentral/fileexchange/25615-intersection-of-two-lines-in-2d), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

changed name (overloaded methods);

1.0.0.0