zansimple преди 8 месеца
родител
ревизия
9ae04a8632
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      Models/SimulationCommon/Rectangular_Area_Search_Function.cs

+ 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);