'Searching polygon on 2D coordinate system

I'm looking for an algorythm and a data structure for representing a polygons on a 2D coordinate system, and searching for the last polygon that contains a given point with O(logn) complexity.

Thank you



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source