pyinterp.geometry.geographic.algorithms.difference#
- pyinterp.geometry.geographic.algorithms.difference(geometry1: pyinterp.core.geometry.geographic.Ring, geometry2: pyinterp.core.geometry.geographic.Ring, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]#
- pyinterp.geometry.geographic.algorithms.difference(geometry1: pyinterp.core.geometry.geographic.Ring, geometry2: pyinterp.core.geometry.geographic.Polygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
- pyinterp.geometry.geographic.algorithms.difference(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.Ring, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
- pyinterp.geometry.geographic.algorithms.difference(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.Polygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
- pyinterp.geometry.geographic.algorithms.difference(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.Ring, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
- pyinterp.geometry.geographic.algorithms.difference(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.Polygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
- pyinterp.geometry.geographic.algorithms.difference(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.MultiPolygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
- pyinterp.geometry.geographic.algorithms.difference(geometry1: pyinterp.core.geometry.geographic.Ring, geometry2: pyinterp.core.geometry.geographic.MultiPolygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
- pyinterp.geometry.geographic.algorithms.difference(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.MultiPolygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
Computes the geometric difference between two geometries.
- Parameters:
geometry1 – First geometry (minuend).
geometry2 – Second geometry (subtrahend).
spheroid – Optional spheroid for geodetic calculations.
strategy – Calculation strategy.
- Returns:
A list of Polygon objects representing the difference.