pyinterp.geometry.geographic.algorithms.within

Contents

pyinterp.geometry.geographic.algorithms.within#

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

Checks if the first geometry is completely within the second geometry.

A geometry is within another if all its points are in the interior or boundary of the second geometry.

Parameters:
  • geometry1 – First geometric object (to be tested).

  • geometry2 – Second geometric object (container).

Returns:

True if geometry1 is within geometry2, False otherwise.