pyinterp.geometry.cartesian.algorithms.length#
- pyinterp.geometry.cartesian.algorithms.length(geometry: pyinterp.core.geometry.cartesian.Point) float#
- pyinterp.geometry.cartesian.algorithms.length(geometry: pyinterp.core.geometry.cartesian.Segment) float
- pyinterp.geometry.cartesian.algorithms.length(geometry: pyinterp.core.geometry.cartesian.Box) float
- pyinterp.geometry.cartesian.algorithms.length(geometry: pyinterp.core.geometry.cartesian.LineString) float
- pyinterp.geometry.cartesian.algorithms.length(geometry: pyinterp.core.geometry.cartesian.Ring) float
- pyinterp.geometry.cartesian.algorithms.length(geometry: pyinterp.core.geometry.cartesian.Polygon) float
- pyinterp.geometry.cartesian.algorithms.length(geometry: pyinterp.core.geometry.cartesian.MultiPoint) float
- pyinterp.geometry.cartesian.algorithms.length(geometry: pyinterp.core.geometry.cartesian.MultiLineString) float
- pyinterp.geometry.cartesian.algorithms.length(geometry: pyinterp.core.geometry.cartesian.MultiPolygon) float
Calculates the length of a geometry.
- Parameters:
geometry – Geometric object to compute length for.
- Returns:
The length of the geometry in cartesian coordinate units.