I need a 2 dimensional interval tree for storing rectangular regions in a canvas.
I need to identify the regions which contain the point clicked or the regions overlapping with a rectangular selection.
Is there any standard implementation of 2 dimensional interval tree for this purpose ?