Finding polygons between a set of intersecting lines