Algorithm for hit test in non-overlapping rectangles

前端 未结 4 2456
鱼传尺愫
鱼传尺愫 2020-12-19 13:26

I have a collection of non-overlapping rectangles that cover an enclosing rectangle. What is the best way to find the containing rectangle for a mouse click?

The obv

4条回答
提交回复
热议问题