Intersections between line and rectangle

6 views (last 30 days)
Salem
Salem on 31 Aug 2021
Answered: KSSV on 2 Sep 2021
How can I find the locations of the intersections between multiple vertical lines with multiple rectangles ?
  2 Comments
darova
darova on 1 Sep 2021
Do you have any data? Any code?
DGM
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.

Sign in to comment.

Accepted Answer

KSSV
KSSV on 2 Sep 2021

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!