Intersections between line and rectangle

How can I find the locations of the intersections between multiple vertical lines with multiple rectangles ?

댓글 수: 2

darova
darova 2021년 9월 1일
Do you have any data? Any code?
DGM
DGM 2021년 9월 2일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

질문:

2021년 8월 31일

답변:

2021년 9월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by