Expand description
azimuth(&p1, &p2) — the bearing from p1 to p2.
Mirrors boost::geometry::azimuth from
boost/geometry/algorithms/azimuth.hpp. Dispatches to the per-CS-
family default strategy via geometry_strategy::DefaultAzimuth —
Cartesian points resolve to geometry_strategy::CartesianAzimuth,
spherical to geometry_strategy::SphericalAzimuth and geographic
to geometry_strategy::GeographicAzimuth. All three share one
bearing convention (0 = north, increasing clockwise — the geodetic
convention Boost uses uniformly, azimuth.hpp:76).
Functions§
- azimuth
- The azimuth (bearing) from
p1top2, in radians, using the default strategy for the points’ coordinate-system family. - azimuth_
with - Azimuth from
p1top2using an explicitly supplied strategy.