pyinterp.geometry.cartesian.algorithms.is_empty

Contents

pyinterp.geometry.cartesian.algorithms.is_empty#

pyinterp.geometry.cartesian.algorithms.is_empty(geometry: pyinterp.core.geometry.cartesian.Point) → bool#
pyinterp.geometry.cartesian.algorithms.is_empty(geometry: pyinterp.core.geometry.cartesian.Segment) → bool
pyinterp.geometry.cartesian.algorithms.is_empty(geometry: pyinterp.core.geometry.cartesian.Box) → bool
pyinterp.geometry.cartesian.algorithms.is_empty(geometry: pyinterp.core.geometry.cartesian.LineString) → bool
pyinterp.geometry.cartesian.algorithms.is_empty(geometry: pyinterp.core.geometry.cartesian.Ring) → bool
pyinterp.geometry.cartesian.algorithms.is_empty(geometry: pyinterp.core.geometry.cartesian.Polygon) → bool
pyinterp.geometry.cartesian.algorithms.is_empty(geometry: pyinterp.core.geometry.cartesian.MultiPoint) → bool
pyinterp.geometry.cartesian.algorithms.is_empty(geometry: pyinterp.core.geometry.cartesian.MultiLineString) → bool
pyinterp.geometry.cartesian.algorithms.is_empty(geometry: pyinterp.core.geometry.cartesian.MultiPolygon) → bool

Check if a geometry is empty (contains no points).

Parameters:

geometry – Geometric object to check.

Returns:

True if the geometry is empty, false otherwise.