pyinterp.geodetic.Polygon.intersection¶
- Polygon.intersection(*args, **kwargs)¶
Overloaded function.
intersection(self: pyinterp.core.geodetic.Polygon, other: pyinterp.core.geodetic.Polygon) -> pyinterp.core.geodetic.MultiPolygon
Computes the intersection of this polygon with another.
- Parameters:
other – The polygon to compute the intersection with.
- Returns:
The intersection of this polygon with the provided polygon.
intersection(self: pyinterp.core.geodetic.Polygon, line_string: pyinterp.core.geodetic.LineString) -> pyinterp.core.geodetic.LineString
Computes the intersection of this polygon with a line string.
- Parameters:
other – The line string to compute the intersection with.
- Returns:
The intersection of this polygon with the provided line string.