geographiclib/geographiclib

azimuth

Closed this issue · 2 comments

When is the azimuth ? 0,180, - 180,thank you

cffk commented

In the context of geodesic calculations, azimuth is the heading measured clockwise from north. So azimuth = ±0 means heading due north and azimuth = ±180 means due south. The sign on 0 or 180 only matters if the path passes over a pole and then it governs whether the path is treated as east-going (azimuth = +0 or +180) or west-going (azimuth = -0 or -180). This then governs the destination longitude (if LONG_UNROLL is set) and the area between the geodesic and the equator.

In the context of geodesic calculations, azimuth is the heading measured clockwise from north. So azimuth = ±0 means heading due north and azimuth = ±180 means due south. The sign on 0 or 180 only matters if the path passes over a pole and then it governs whether the path is treated as east-going (azimuth = +0 or +180) or west-going (azimuth = -0 or -180). This then governs the destination longitude (if LONG_UNROLL is set) and the area between the geodesic and the equator.

thank you