Skip to main content

Polygons

Polygons Objects

class Polygons(Entities)

intersection

def intersection(other: Polygons, threshold: float) -> Polygons

Find a set of polygons that intersect with another set of polygons. The threshold is user specified and is used to determine if two polygons sufficiently overlap to be considered intersecting.

Arguments:

  • other Polygons - Set of polygons to intersect with.
  • threshold float - The threshold for determining if two polygons are sufficiently intersecting.

Returns:

  • Polygons - uniqued set of polygons that intersect with the other set of polygons.