Crossed lines detection function
Show older comments
I have two lines (x1,y1) and (x2,y2) and I have a third one which is always randomly generated(only positive values), The function I am searching for will find out if the third line is crossing the first of the second(or both). I need a return of True when they are crossed and False if they are not...
If there is already an answer to this type of question it will be enough if you will just paste a link there to it. I tried to look for the answer but because of my bad english I didnt succeed.
Thank you for all your answers.
Answers (1)
KSSV
on 28 Feb 2019
1 vote
Get the intersection point between two lines...if they intersect, they cross....if not the don't cross....use this file exchange function to get intrsections.
Categories
Find more on Signal Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!