Changeset 11374 in josm for trunk/src/org/openstreetmap/josm/data/projection/proj/SwissObliqueMercator.java
- Timestamp:
- 2016-12-09T23:31:13+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/proj/SwissObliqueMercator.java
r10308 r11374 20 20 import org.openstreetmap.josm.data.projection.Ellipsoid; 21 21 import org.openstreetmap.josm.data.projection.ProjectionConfigurationException; 22 import org.openstreetmap.josm.tools.JosmRuntimeException; 22 23 23 24 // CHECKSTYLE.OFF: LineLength … … 108 109 while (abs(phi - prevPhi) > EPSILON) { 109 110 if (++iteration > 30) 110 throw new RuntimeException("Two many iterations");111 throw new JosmRuntimeException("Two many iterations"); 111 112 prevPhi = phi; 112 113 double s = 1 / alpha * (log(tan(PI / 4 + b / 2)) - k) + ellps.e
Note:
See TracChangeset
for help on using the changeset viewer.