pyinterp.geometry.cartesian.algorithms.touches

Contents

pyinterp.geometry.cartesian.algorithms.touches#

pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.Point) bool#
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.LineString) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.Ring) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.Polygon) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.MultiLineString) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.MultiPolygon) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.LineString, geometry2: pyinterp.core.geometry.cartesian.LineString) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.LineString, geometry2: pyinterp.core.geometry.cartesian.Ring) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.LineString, geometry2: pyinterp.core.geometry.cartesian.Polygon) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.LineString, geometry2: pyinterp.core.geometry.cartesian.MultiLineString) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.LineString, geometry2: pyinterp.core.geometry.cartesian.MultiPolygon) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Ring, geometry2: pyinterp.core.geometry.cartesian.LineString) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Ring, geometry2: pyinterp.core.geometry.cartesian.Ring) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Ring, geometry2: pyinterp.core.geometry.cartesian.Polygon) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Ring, geometry2: pyinterp.core.geometry.cartesian.MultiLineString) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Ring, geometry2: pyinterp.core.geometry.cartesian.MultiPolygon) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Polygon, geometry2: pyinterp.core.geometry.cartesian.Point) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Polygon, geometry2: pyinterp.core.geometry.cartesian.LineString) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Polygon, geometry2: pyinterp.core.geometry.cartesian.Ring) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Polygon, geometry2: pyinterp.core.geometry.cartesian.Polygon) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Polygon, geometry2: pyinterp.core.geometry.cartesian.MultiLineString) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.Polygon, geometry2: pyinterp.core.geometry.cartesian.MultiPolygon) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.MultiLineString, geometry2: pyinterp.core.geometry.cartesian.Point) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.MultiLineString, geometry2: pyinterp.core.geometry.cartesian.LineString) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.MultiLineString, geometry2: pyinterp.core.geometry.cartesian.Ring) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.MultiLineString, geometry2: pyinterp.core.geometry.cartesian.Polygon) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.MultiLineString, geometry2: pyinterp.core.geometry.cartesian.MultiLineString) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.MultiLineString, geometry2: pyinterp.core.geometry.cartesian.MultiPolygon) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.MultiPolygon, geometry2: pyinterp.core.geometry.cartesian.Point) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.MultiPolygon, geometry2: pyinterp.core.geometry.cartesian.LineString) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.MultiPolygon, geometry2: pyinterp.core.geometry.cartesian.Ring) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.MultiPolygon, geometry2: pyinterp.core.geometry.cartesian.Polygon) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.MultiPolygon, geometry2: pyinterp.core.geometry.cartesian.MultiLineString) bool
pyinterp.geometry.cartesian.algorithms.touches(geometry1: pyinterp.core.geometry.cartesian.MultiPolygon, geometry2: pyinterp.core.geometry.cartesian.MultiPolygon) bool

Checks if two geometries touch (have at least one boundary point in common, but no interior points).

Two geometries touch if they have at least one point in common, but their interiors do not intersect.

Parameters:
  • geometry1 – First geometric object.

  • geometry2 – Second geometric object.

Returns:

True if the geometries touch, False otherwise.