pyinterp.geometry.cartesian.algorithms.azimuth#
- pyinterp.geometry.cartesian.algorithms.azimuth(point1: pyinterp.core.geometry.cartesian.Point, point2: pyinterp.core.geometry.cartesian.Point) 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.
- Returns:
Azimuth in radians (0 to 2π).