Changeset 10235 in josm for trunk/src/org/openstreetmap/josm/data/projection/proj/DoubleStereographic.java
- Timestamp:
- 2016-05-17T02:02:30+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/proj/DoubleStereographic.java
r10001 r10235 100 100 while (abs(phi - phiprev) > EPSILON) { 101 101 if (++iteration > 10) 102 throw new RuntimeException("Too many iterations");102 throw new IllegalStateException("Too many iterations"); 103 103 phiprev = phi; 104 104 double psii = log(tan(phi/2 + PI/4) * pow((1 - e * sin(phi)) / (1 + e * sin(phi)), e/2));
Note:
See TracChangeset
for help on using the changeset viewer.