]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network/src/org/simantics/district/network/ModelledCRS.java
Enhancements to district functionalities and code
[simantics/district.git] / org.simantics.district.network / src / org / simantics / district / network / ModelledCRS.java
index 23e68f2b273453c7a2636f2331c2bd417028447c..55d850e5e9092ebe3a345674a5f838e9ea69d4f8 100644 (file)
@@ -28,12 +28,11 @@ public class ModelledCRS implements CRS {
         return dist;
     }
 
-    
     // TODO: these only work with Spherical Mercator
     public static double xToLongitude(double x) {
         return x;
     }
-    
+
     public static double yToLatitude(double y) {
         double rad = Math.toRadians(y);
         double sinh = Math.sinh(rad);
@@ -41,7 +40,7 @@ public class ModelledCRS implements CRS {
         double finald = Math.toDegrees(atan);
         return finald;
     }
-    
+
     public static double longitudeToX(double lon) {
         return lon;
     }