pyinterp.geometry.cartesian.algorithms.within#
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.Point) bool#
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.Segment) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.Box) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.LineString) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.Ring) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.Polygon) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.MultiPoint) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.MultiLineString) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Point, geometry2: pyinterp.core.geometry.cartesian.MultiPolygon) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Box, geometry2: pyinterp.core.geometry.cartesian.Box) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.LineString, geometry2: pyinterp.core.geometry.cartesian.LineString) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.LineString, geometry2: pyinterp.core.geometry.cartesian.Ring) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.LineString, geometry2: pyinterp.core.geometry.cartesian.Polygon) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.LineString, geometry2: pyinterp.core.geometry.cartesian.MultiLineString) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.LineString, geometry2: pyinterp.core.geometry.cartesian.MultiPolygon) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Ring, geometry2: pyinterp.core.geometry.cartesian.Ring) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Ring, geometry2: pyinterp.core.geometry.cartesian.Polygon) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Ring, geometry2: pyinterp.core.geometry.cartesian.MultiPolygon) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Polygon, geometry2: pyinterp.core.geometry.cartesian.Ring) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Polygon, geometry2: pyinterp.core.geometry.cartesian.Polygon) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.Polygon, geometry2: pyinterp.core.geometry.cartesian.MultiPolygon) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.MultiLineString, geometry2: pyinterp.core.geometry.cartesian.LineString) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.MultiLineString, geometry2: pyinterp.core.geometry.cartesian.Ring) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.MultiLineString, geometry2: pyinterp.core.geometry.cartesian.Polygon) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.MultiLineString, geometry2: pyinterp.core.geometry.cartesian.MultiLineString) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.MultiLineString, geometry2: pyinterp.core.geometry.cartesian.MultiPolygon) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.MultiPolygon, geometry2: pyinterp.core.geometry.cartesian.Ring) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.MultiPolygon, geometry2: pyinterp.core.geometry.cartesian.Polygon) bool
- pyinterp.geometry.cartesian.algorithms.within(geometry1: pyinterp.core.geometry.cartesian.MultiPolygon, geometry2: pyinterp.core.geometry.cartesian.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.