pyinterp.geometry.geographic.algorithms.equals

Contents

pyinterp.geometry.geographic.algorithms.equals#

pyinterp.geometry.geographic.algorithms.equals(geometry1: pyinterp.core.geometry.geographic.Point, geometry2: pyinterp.core.geometry.geographic.Point) bool#
pyinterp.geometry.geographic.algorithms.equals(geometry1: pyinterp.core.geometry.geographic.Segment, geometry2: pyinterp.core.geometry.geographic.Segment) bool
pyinterp.geometry.geographic.algorithms.equals(geometry1: pyinterp.core.geometry.geographic.Box, geometry2: pyinterp.core.geometry.geographic.Box) bool
pyinterp.geometry.geographic.algorithms.equals(geometry1: pyinterp.core.geometry.geographic.LineString, geometry2: pyinterp.core.geometry.geographic.LineString) bool
pyinterp.geometry.geographic.algorithms.equals(geometry1: pyinterp.core.geometry.geographic.Ring, geometry2: pyinterp.core.geometry.geographic.Ring) bool
pyinterp.geometry.geographic.algorithms.equals(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.Polygon) bool
pyinterp.geometry.geographic.algorithms.equals(geometry1: pyinterp.core.geometry.geographic.MultiPoint, geometry2: pyinterp.core.geometry.geographic.MultiPoint) bool
pyinterp.geometry.geographic.algorithms.equals(geometry1: pyinterp.core.geometry.geographic.MultiLineString, geometry2: pyinterp.core.geometry.geographic.MultiLineString) bool
pyinterp.geometry.geographic.algorithms.equals(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.MultiPolygon) bool

Checks if two geometries are spatially equal.

Two geometries are equal if they represent the same set of points, regardless of the order of points or internal representation.

Parameters:
  • geometry1 – First geometric object.

  • geometry2 – Second geometric object.

Returns:

True if the geometries are equal, False otherwise.