Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / geometry / strategies / geographic / parameters.hpp
index 92ebe08..f488233 100644 (file)
@@ -1,6 +1,6 @@
 // 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,
@@ -15,6 +15,8 @@
 #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>
@@ -135,8 +137,48 @@ struct vincenty
             >
     {};
 };
+/*
+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
 {
@@ -161,6 +203,12 @@ template<>
 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