How to detect if there is an intersection between a line and other existing elements in a figure GUI ?
1 次查看(过去 30 天)
显示 更早的评论
I have a figure GUI matlab which contains elements like circle-arcs and lines (as shown in the fig below). I will draw a line .But before drawing i would like to verify if there is an intersection between the line and the other elements. If there is, the program should not draw the line.
So, my question is is there a method to detect if there is an intersection easily without having to verify it element by element? Thanks
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!