Intersections between line and rectangle
Show older comments
How can I find the locations of the intersections between multiple vertical lines with multiple rectangles ?
2 Comments
darova
on 1 Sep 2021
Do you have any data? Any code?
DGM
on 2 Sep 2021
In what context? How are the lines and rectangles defined? By equations? endpoints? Are you trying to find intersections between objects in an image? A binarized image?
If you want a wholly generalized answer, then you can just look up basic line-line intersection routines and expand from there. I doubt that's what you actually want.
Accepted Answer
More Answers (0)
Categories
Find more on Image Type Conversion 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!