]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/geometry/test/formulas/inverse_cases.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / geometry / test / formulas / inverse_cases.hpp
index b3b868d56431ce414510d676433c59e63c191269..586ed54ba20da6f05402a64b6ce1283cee5a51f3 100644 (file)
@@ -1,7 +1,7 @@
 // Boost.Geometry
 // Unit Test
 
-// Copyright (c) 2016-2017 Oracle and/or its affiliates.
+// Copyright (c) 2016-2020 Oracle and/or its affiliates.
 
 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
 
@@ -583,7 +583,8 @@ expected_results expected[] =
         {10001965.72931179217994213104, -180.00000000000000000000, -179.00000000000000000000, 6378136.99999999906867742538, 0.00000000000000000000},
         {10001965.71749142371118068695, 180.00000000000000000000, -179.00000000000000000000, 6378136.99999999906867742538, 0.00000000000000000000},
         {10001958.67847795411944389343, 180.00000000000000000000, -179.00000000000000000000, 6378136.99999999906867742538, 0.00000000000000000000}
-    }/*, {
+    }
+    /*, {
         // antipodal
         {-90, -45}, {90, 45},
         {20003931.45862544700503349304, -180.00000000000000000000, 0.00000000000000000000, 33675.52452803074265830219, -0.99472900658949181540},
@@ -597,6 +598,26 @@ expected_results expected[] =
         {19987083.06974205747246742249, 90.00000000000000000000, 90.00000000000000000000, -000000.00000000078240703623, -1.00000000000000000000},
         {00000000.00000000000000000000, 0.00000000000000000000, 0.00000000000000000000, 000000.00000000000000000000, 1.00000000000000000000},
         {20020712.84987257421016693115, 180.00000000000000000000, 0.00000000000000000000, 33590.79639541531651047990, -1.00525773151080621837}
+    }
+    // pi  = 3.1415926535897931
+    // r2d = 57.295779513082323
+    // commented out because of inconsistencies
+    /*, {
+        {0.26387320519564444 * 57.295779513082323, 0.84008767903244352 * 57.295779513082323},
+        {0.26387320679785603 * 57.295779513082323, 0.84008767099694759 * 57.295779513082323},
+        {0.051647212499179529, 172.39749230932208, 172.39749237768564, 0.051647212499179536, 1.0000000000000000},
+        {0.051647209427812361, 172.39750897806516, 172.39750904523200, 0.051638407375539180, 0.99999999999999734},
+        // TODO: This is wrong
+        {0.00000000000000000, 0.00000000000000000, 0.00000000000000000, 0.00000000000000000, 1.0000000000000000},
+        {0.00000000000000000, 0.00000000000000000, 0.00000000000000000, -0.051193490763866173, 1.0000000000000000}
+    }, {
+        {0.26387320519564444 * 57.295779513082323, 0.84008767903244352 * 57.295779513082323},
+        {(0.26387320679785603 - 3.1415926535897931) * 57.295779513082323, -0.84008767099694759 * 57.295779513082323},
+        {20003931.407432225, -1.3045327945402774e-05, -179.99998695467218, 30010.522036068141, -0.99475954491334551},
+        {20003669.536724485, -7.5912543895164619, -172.40874567755344, 29487.136123182696, -0.99480541226332386},
+        // TODO: This is wrong
+        {0.00000000000000000, 0.00000000000000000, 0.00000000000000000, 0.00000000000000000, 1.0000000000000000},
+        {20018879.436128609, 0.00000000000000000, 180.00000000000000, 29935.015234617360, -0.99477272997811228}
     }*/
 };