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
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 LinuxCategories
Find more on Geometry and Mesh in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.