pyinterp.core.geodetic.MultiPolygon.touches#

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

Overloaded function.

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

Checks if this multi-polygon touches a polygon.

Parameters:

other – The polygon to check for touches with.

Returns:

True if this multi-polygon touches the provided polygon, False otherwise.

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

Checks if this multi-polygon touches another multi-polygon.

Parameters:

other – The multi-polygon to check for touches with.

Returns:

True if this multi-polygon touches the provided multi-polygon, False