Changeset 13634 in josm for trunk/src/org/openstreetmap/josm/data/projection/proj
 Timestamp:
 20180415T18:22:42+02:00 (18 months ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/org/openstreetmap/josm/data/projection/proj/TransverseMercator.java
r13167 r13634 82 82 83 83 /** 84 * Con tants used for the forward and inverse transform for the eliptical84 * Constants used for the forward and inverse transform for the elliptical 85 85 * case of the Transverse Mercator. 86 86 */ … … 101 101 /** 102 102 * A derived quantity of excentricity, computed by <code>e'² = (a²b²)/b² = es/(1es)</code> 103 * where <var>a</var> is the semimajor axis length and <var>b</var> is the semiminor axis 104 * length. 103 * where <var>a</var> is the semimajor axis length and <var>b</var> is the semiminor axis length. 105 104 */ 106 105 private double eb2; … … 109 108 * Latitude of origin in <u>radians</u>. Default value is 0, the equator. 110 109 * This is called '<var>phi0</var>' in Snyder. 111 * <p>112 * <strong>Consider this field as final</strong>. It is not final only113 * because some classes need to modify it at construction time.114 110 */ 115 111 protected double latitudeOfOrigin; … … 151 147 152 148 if (params.gamma != null) { 153 149 rectifiedGridAngle = Utils.toRadians(params.gamma); 154 150 } else { 155 151 rectifiedGridAngle = 0.0; 156 152 } 157 153 sinrot = Math.sin(rectifiedGridAngle); 158 154 cosrot = Math.cos(rectifiedGridAngle); 159 160 155 } 161 156 … … 220 215 FC4 * (5.0 + t*(3.0  9.0*n) + n*(1.0  4*n)  ds * 221 216 FC6 * (61.0 + t*(90.0  252.0*n + 45.0*t) + 46.0*n  ds * 222 FC8 * (1385.0 + t*(3633.0 + t*(4095.0 + 157 4.0*t))))));217 FC8 * (1385.0 + t*(3633.0 + t*(4095.0 + 1575.0*t)))))); 223 218 224 219 x = d*(FC1  ds * FC3 * (1.0 + 2.0*t + n 
Note: See TracChangeset
for help on using the changeset viewer.