pyinterp.geometry.geographic.algorithms.reverse

Contents

pyinterp.geometry.geographic.algorithms.reverse#

pyinterp.geometry.geographic.algorithms.reverse(geometry: pyinterp.core.geometry.geographic.Point) None#
pyinterp.geometry.geographic.algorithms.reverse(geometry: pyinterp.core.geometry.geographic.Segment) None
pyinterp.geometry.geographic.algorithms.reverse(geometry: pyinterp.core.geometry.geographic.Box) None
pyinterp.geometry.geographic.algorithms.reverse(geometry: pyinterp.core.geometry.geographic.LineString) None
pyinterp.geometry.geographic.algorithms.reverse(geometry: pyinterp.core.geometry.geographic.Ring) None
pyinterp.geometry.geographic.algorithms.reverse(geometry: pyinterp.core.geometry.geographic.Polygon) None
pyinterp.geometry.geographic.algorithms.reverse(geometry: pyinterp.core.geometry.geographic.MultiPoint) None
pyinterp.geometry.geographic.algorithms.reverse(geometry: pyinterp.core.geometry.geographic.MultiLineString) None
pyinterp.geometry.geographic.algorithms.reverse(geometry: pyinterp.core.geometry.geographic.MultiPolygon) None

Reverses the order of points in a geometry.

For linestrings and rings, this reverses the order of points. For polygons, this reverses both the exterior ring and all interior rings. For multi-geometries, this reverses each component geometry.

This operation modifies the geometry in-place.

Parameters:

geometry – Geometric object to reverse.