mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-02 21:02:13 +00:00
Get rid of formulas objects and implement the formulas as a struct template taking parameters enabling the formula parts (e.g. distance and/or azimuth) with apply() static member function. This way the code is more clear as all temporary values are created directly in the algorithms. Furthermore there are no uninitialized values and it's not required to keep a flag indicating if the distance or azimuth can be calculated. Use the new implementation of formulas in geographic distance and side strategies. Alter the unit test.