Constructs polygons from a set of lines that form closed loops. This operation is useful for converting linework into area-based geometries.