Given a set of polygons P and a rectangular area A, I need to verify if A is completely covered by P.
The number and complexity of the polygons and the total area A are significantly large and so, a polygon union-based approach might not work in time. To make things a bit simpler, I defined A' as the size of the smallest area inside A whose coverage I care about. I thought of building up a 2D segment-tree like structure dividing the area in 2D repeatedly(each area square breaks into 4 child squares until the child square size is A') but since we are dealing with polygons here, I am not sure if this would be efficient enough.