What I want to achive ist the following: I have a 2D plane and on this plane I will have a potentially large amount of rectangles (these are specified with 2 coordinates spanning it)
Whats the most efficient way to determine if a point is in one of the rectangles
From some previous research I found that quad trees are good for that and I think I also understand how they work but I can't figure out how they help to solve my problem. I can find points close to one point but how to I find out if my point is in one of the many rectangles?