pyinterp.core.geodetic.Point.distance#
- Point.distance(self: pyinterp.core.geodetic.Point, other: pyinterp.core.geodetic.Point, strategy: str = 'thomas', wgs: Optional[pyinterp.core.geodetic.System] = 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 – WGS system used for the calculation, default to WGS84.
- Returns
The distance between the two points in meters.