Changeset 9432 in josm
- Timestamp:
- 2016-01-13T14:15:25+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/proj/AbstractProj.java
r9428 r9432 132 132 } 133 133 134 /** 135 * Make sure longitude value is within <code>[-PI, PI]</code> range. 136 * @param lon the longitude in radians 137 * @return lon plus/minus multiples of <code>2*PI</code>, as needed to get 138 * in <code>[-PI, PI]</code> range 139 */ 134 140 public static double normalizeLon(double lon) { 135 141 if (lon >= -Math.PI && lon <= Math.PI) … … 161 167 * Computes function (15-9) and (9-13) from Snyder. 162 168 * Equivalent to negative of function (7-7). 169 * @param lat the latitude 170 * @param sinlat sine of the latitude 171 * @return auxiliary value computed from <code>lat</code> and <code>sinlat</code> 163 172 */ 164 173 final double tsfn(final double lat, double sinlat) {
Note:
See TracChangeset
for help on using the changeset viewer.