intersect#

classmethod PolygonData.intersect(polygons1, polygons2)#

Compute the intersection of one or more lists of polygons.

Parameters:
polygons1: `list` of :class:`.PolygonData` or :class:`.PolygonData`

First list of polygons.

polygons2: `list` of :class:`.PolygonData` or :class:`.PolygonData`

Second optional list of polygons.

Returns:
list[PolygonData]