I have N rectangles with sides parallel to the x- and y-axes. There is another rectangle, model. I need to create an algorithm that can tell whether the
Hard to know what you are looking for but it sounds to me like an R-tree might work?