pyinterp.geometry.cartesian.algorithms.convex_hull

Contents

pyinterp.geometry.cartesian.algorithms.convex_hull#

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

Calculates the convex hull of a geometry.

The convex hull is the smallest convex geometry that contains all points of the input geometry. It is always returned as a Polygon.

Parameters:

geometry – Geometric object to compute convex hull for.

Returns:

A Polygon representing the convex hull.