zansimple 8 місяців тому
батько
коміт
9ae04a8632

+ 2 - 2
Models/SimulationCommon/Rectangular_Area_Search_Function.cs

@@ -20,14 +20,14 @@ public class Rectangular_Area_Search_Function
     }
 
     //反墨卡托投影
-    public static double RMokatuoLon(double y)
+    public static double RMokatuoLat(double y)
     {
         double R = 6378.137;
         double lat = Math.Atan(Math.Exp(y / R)) * 360 / Math.PI - 90;
         return lat;
     }
 
-    public static double RMokatuoLat(double x)
+    public static double RMokatuoLon(double x)
     {
         double R = 6378.137;
         double lon = x * 180 / (R * Math.PI);