pyinterp.geodetic.Box.distance¶
- Box.distance(*args, **kwargs)¶
Overloaded function.
distance(self: pyinterp.core.geodetic.Box, other: pyinterp.core.geodetic.Box) -> float
Calculate the distance between the two boxes.
- Parameters:
other – The other box to consider.
- Returns:
The distance between the two boxes in meters.
distance(self: pyinterp.core.geodetic.Box, 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 box and the provided point.