Changeset 9432 in josm for trunk/src/org


Ignore:
Timestamp:
2016-01-13T14:15:25+01:00 (9 years ago)
Author:
bastiK
Message:

see #12186 - javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/proj/AbstractProj.java

    r9428 r9432  
    132132    }
    133133
     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     */
    134140    public static double normalizeLon(double lon) {
    135141        if (lon >= -Math.PI && lon <= Math.PI)
     
    161167     * Computes function (15-9) and (9-13) from Snyder.
    162168     * 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>
    163172     */
    164173    final double tsfn(final double lat, double sinlat) {
Note: See TracChangeset for help on using the changeset viewer.