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

前端 未结 7 1079
时光说笑
时光说笑 2021-02-08 13:49

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:08

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

提交回复
热议问题