Changeset 8345 in josm for trunk/src/org/openstreetmap/josm/data/projection
- Timestamp:
- 2015-05-11T10:52:33+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/projection
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2GridShiftFile.java
r8332 r8345 276 276 277 277 public boolean isLoaded() { 278 return (topLevelSubGrid != null);278 return topLevelSubGrid != null; 279 279 } 280 280 -
trunk/src/org/openstreetmap/josm/data/projection/proj/LambertConformalConic.java
r6883 r8345 129 129 protected double t(double lat_rad) { 130 130 return tan(PI/4 - lat_rad / 2.0) 131 / pow(( (1.0 - e * sin(lat_rad)) / (1.0 + e * sin(lat_rad))), e/2);131 / pow((1.0 - e * sin(lat_rad)) / (1.0 + e * sin(lat_rad)), e/2); 132 132 } 133 133 -
trunk/src/org/openstreetmap/josm/data/projection/proj/TransverseMercator.java
r6362 r8345 229 229 230 230 /* Precalculate epsilon */ 231 double epsilon = (315.0 * pow(n, 4.0) / 512.0);231 double epsilon = 315.0 * pow(n, 4.0) / 512.0; 232 232 233 233 /* Now calculate the sum of the series and return */ … … 276 276 277 277 /* Precalculate epsilon_ (Eq. 10.22) */ 278 double epsilon_ = (1097.0 * pow(n, 4.0) / 512.0);278 double epsilon_ = 1097.0 * pow(n, 4.0) / 512.0; 279 279 280 280 /* Now calculate the sum of the series (Eq. 10.21) */ … … 284 284 + (epsilon_ * sin(8.0 * y_)); 285 285 } 286 287 286 }
Note:
See TracChangeset
for help on using the changeset viewer.