// Boost.Geometry
-// Copyright (c) 2017, Oracle and/or its affiliates.
+// Copyright (c) 2017-2019, Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
// Use, modification and distribution is subject to the Boost Software License,
#include <boost/geometry/formulas/thomas_inverse.hpp>
#include <boost/geometry/formulas/vincenty_direct.hpp>
#include <boost/geometry/formulas/vincenty_inverse.hpp>
+//#include <boost/geometry/formulas/karney_direct.hpp>
+//#include <boost/geometry/formulas/karney_inverse.hpp>
#include <boost/mpl/assert.hpp>
#include <boost/mpl/integral_c.hpp>
>
{};
};
+/*
+struct karney
+{
+ template
+ <
+ typename CT,
+ bool EnableCoordinates = true,
+ bool EnableReverseAzimuth = false,
+ bool EnableReducedLength = false,
+ bool EnableGeodesicScale = false,
+ size_t SeriesOrder = 8
+ >
+ struct direct
+ : formula::karney_direct
+ <
+ CT, EnableCoordinates, EnableReverseAzimuth,
+ EnableReducedLength, EnableGeodesicScale,
+ SeriesOrder
+ >
+ {};
-
+ template
+ <
+ typename CT,
+ bool EnableDistance,
+ bool EnableAzimuth,
+ bool EnableReverseAzimuth = false,
+ bool EnableReducedLength = false,
+ bool EnableGeodesicScale = false,
+ size_t SeriesOrder = 8
+ >
+ struct inverse
+ : formula::karney_inverse
+ <
+ CT, EnableDistance,
+ EnableAzimuth, EnableReverseAzimuth,
+ EnableReducedLength, EnableGeodesicScale,
+ SeriesOrder
+ >
+ {};
+};
+*/
template <typename FormulaPolicy>
struct default_order
{
struct default_order<vincenty>
: boost::mpl::integral_c<unsigned int, 4>
{};
+/*
+template<>
+struct default_order<karney>
+ : boost::mpl::integral_c<unsigned int, 8>
+{};
+*/
}}} // namespace boost::geometry::strategy