Splitting polygons with lines