Algorithm required to determine if a rectangle is completely covered by another set of rectangles

前端 未结 7 2258
轻奢々
轻奢々 2021-02-08 13:45

I am searching for an algorithm that will determine if a new rectangle is completely covered by a set of existing rectangles. Another way of putting the question, is does the ne

7条回答
  •  灰色年华
    2021-02-08 14:06

    R-tree may be useful. if there might be rotated rectangles, you can enclose them in bounding rectangles.

提交回复
热议问题