pyinterp.geometry.geographic.algorithms.azimuth#
- pyinterp.geometry.geographic.algorithms.azimuth(point1: pyinterp.core.geometry.geographic.Point, point2: pyinterp.core.geometry.geographic.Point, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.VINCENTY) float#
Calculate the azimuth from point1 to point2.
The azimuth is the angle measured clockwise from north to the direction from point1 to point2.
- Parameters:
point1 – First point.
point2 – Second point.
spheroid – Optional spheroid for geodetic calculations. If not provided, uses WGS84 ellipsoid.
strategy – Calculation strategy.
- Returns:
Azimuth in radians (0 to 2π).