From 29a03318a3bb6478aa157c73b92b58b9fa10dff9 Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Wed, 17 Jul 2013 21:24:33 +0000 Subject: [PATCH] [geometry][extension] Updated andoyer adaption (comments, removed redundant namespace, fixed default_strategy template parameter) [SVN r85065] --- .../extensions/gis/geographic/strategies/andoyer.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/boost/geometry/extensions/gis/geographic/strategies/andoyer.hpp b/include/boost/geometry/extensions/gis/geographic/strategies/andoyer.hpp index 9442e457f..ab7143f16 100644 --- a/include/boost/geometry/extensions/gis/geographic/strategies/andoyer.hpp +++ b/include/boost/geometry/extensions/gis/geographic/strategies/andoyer.hpp @@ -30,6 +30,7 @@ namespace strategy { namespace distance /*! \brief Point-point distance approximation taking flattening into account \ingroup distance +\tparam RadiusType Type of specified radius of the Earth \tparam CalculationType \tparam_calculation \author After Andoyer, 19xx, republished 1950, republished by Meeus, 1999 \note Although not so well-known, the approximation is very good: in all cases the results @@ -154,14 +155,14 @@ namespace services { template -struct tag > +struct tag > { typedef strategy_tag_distance_point_point type; }; template -struct return_type, P1, P2> +struct return_type, P1, P2> : andoyer::template calculation_type {}; @@ -197,7 +198,7 @@ struct result_from_distance, P1, P2> template struct default_strategy { - typedef strategy::distance::andoyer type; + typedef strategy::distance::andoyer::type> type; };