pyinterp.geodetic.Polygon.distance¶
- Polygon.distance(*args, **kwargs)¶
Overloaded function.
distance(self: pyinterp.core.geodetic.Polygon, other: pyinterp.core.geodetic.Polygon) -> float
Calculate the distance between the two polygons.
- Parameters:
other – The other polygon to consider.
- Returns:
The distance between the two polygons in meters.
distance(self: pyinterp.core.geodetic.Polygon, point: pyinterp.core.geodetic.Point) -> float
Calculate the distance between this instance and a point.
- Parameters:
point – The point to consider.
- Returns:
The distance between this polygon and the provided point.