Skip to main content

azimuth_with

Function azimuth_with 

Source
pub fn azimuth_with<P1, P2, S>(p1: &P1, p2: &P2, s: S) -> S::Out
where P1: Point, P2: Point, S: AzimuthStrategy<P1, P2>,
Expand description

Azimuth from p1 to p2 using an explicitly supplied strategy.

Mirrors the azimuth(p1, p2, strategy) overload at boost/geometry/algorithms/azimuth.hpp. Taking the strategy by value matches the by-value call shape of crate::distance_with; concrete strategies are zero-sized or small Copy configuration objects, so this monomorphises into nothing.