pyinterp.geometry.geographic.algorithms.convert_to_cartesian

pyinterp.geometry.geographic.algorithms.convert_to_cartesian#

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

Converts a Geographic geometry to Cartesian coordinates.

This function converts geometries from Geographic (longitude, latitude) coordinates to Cartesian (x, y) coordinates. The conversion simply copies the coordinate values.

Parameters:

geometry – Geographic geometric object to convert.

Returns:

Equivalent geometry in Cartesian coordinates.