pyinterp.core.geodetic.MultiPolygon.intersection#

MultiPolygon.intersection(*args, **kwargs)#

Overloaded function.

  1. intersection(self: pyinterp.core.geodetic.MultiPolygon, other: pyinterp.core.geodetic.Polygon) -> pyinterp.core.geodetic.MultiPolygon

Computes the intersection of this multi-polygon with a polygon.

Parameters:

other – The polygon to compute the intersection with.

Returns:

The intersection of this multi-polygon with the provided polygon.

  1. intersection(self: pyinterp.core.geodetic.MultiPolygon, other: pyinterp.core.geodetic.MultiPolygon) -> pyinterp.core.geodetic.MultiPolygon

Computes the intersection of this multi-polygon with another multi-polygon.

Parameters:

other – The multi-polygon to compute the intersection with.

Returns:

The intersection of this multi-polygon with the provided multi-polygon.