Crossed lines detection function
Mostrar comentarios más antiguos
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.
Respuestas (1)
KSSV
el 28 de Feb. de 2019
1 voto
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.
Categorías
Más información sobre Signal Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!