pyinterp.geodetic.Point.distance¶
- Point.distance(self: pyinterp.core.geodetic.Point, other: pyinterp.core.geodetic.Point, strategy: str = 'thomas', wgs: pyinterp.core.geodetic.Spheroid | None = None) float ¶
Calculate the distance between the two points.
- Parameters:
other – The other point to consider.
strategy – The calculation method used to calculate the distance. This parameter can take the values
andoyer
,thomas
orvincenty
.wgs – The spheroid used to calculate the distance. If not provided, the WGS-84 spheroid is used.
- Returns:
The distance between the two points in meters.