pyinterp.geometry.geographic.algorithms.intersects

Contents

pyinterp.geometry.geographic.algorithms.intersects#

pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.Point, geometry2: pyinterp.core.geometry.geographic.Point) bool#
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.Point, geometry2: pyinterp.core.geometry.geographic.Box) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.Point, geometry2: pyinterp.core.geometry.geographic.Polygon) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.Point, geometry2: pyinterp.core.geometry.geographic.MultiPolygon) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.Box, geometry2: pyinterp.core.geometry.geographic.Point) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.Box, geometry2: pyinterp.core.geometry.geographic.Box) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.Box, geometry2: pyinterp.core.geometry.geographic.Polygon) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.LineString, geometry2: pyinterp.core.geometry.geographic.LineString) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.LineString, geometry2: pyinterp.core.geometry.geographic.Polygon) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.LineString, geometry2: pyinterp.core.geometry.geographic.Box) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.Point) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.Box) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.Polygon) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.MultiPolygon) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.Point) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.Polygon) bool
pyinterp.geometry.geographic.algorithms.intersects(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.MultiPolygon) bool

Checks if two geometries intersect (have at least one point in common).

Two geometries intersect if they share at least one point. This is the opposite of the disjoint predicate.

Parameters:
  • geometry1 – First geometric object.

  • geometry2 – Second geometric object.

Returns:

True if the geometries intersect, False otherwise.