Ignore:
Timestamp:
2016-01-13T02:02:36+01:00 (4 years ago)
Author:
Don-vip
Message:

see #12186 - fix some javadoc warnings

Location:
trunk/src/org/openstreetmap/josm/data/projection/proj
Files:
3 edited

Legend:

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

    r9419 r9428  
    5353
    5454    /**
    55      * Ellipsoid excentricity, equals to <code>sqrt({@link #excentricitySquared})</code>.
     55     * Ellipsoid excentricity, equals to <code>sqrt({@link #e2 excentricity squared})</code>.
    5656     * Value 0 means that the ellipsoid is spherical.
    5757     *
    58      * @see #excentricitySquared
     58     * @see #e2
    5959     */
    6060    protected double e;
     
    6565     * <var>a</var> is the semi major axis length and
    6666     * <var>b</var> is the semi minor axis length.
     67     *
     68     * @see #e
    6769     */
    6870    protected double e2;
     
    147149     * Computes function <code>f(s,c,e²) = c/sqrt(1 - s²&times;e²)</code> needed for the true scale
    148150     * latitude (Snyder 14-15), where <var>s</var> and <var>c</var> are the sine and cosine of
    149      * the true scale latitude, and <var>e²</var> is the {@linkplain #excentricitySquared
    150      * eccentricity squared}.
     151     * the true scale latitude, and <var>e²</var> is the {@linkplain #e2 eccentricity squared}.
     152     * @param s sine of the true scale latitude
     153     * @param c cosine of the true scale latitude
     154     * @return <code>c/sqrt(1 - s²&times;e²)</code>
    151155     */
    152156    final double msfn(final double s, final double c) {
     
    160164    final double tsfn(final double lat, double sinlat) {
    161165        sinlat *= e;
    162         /*
    163          * NOTE: change sign to get the equivalent of Snyder (7-7).
    164          */
     166        // NOTE: change sign to get the equivalent of Snyder (7-7).
    165167        return Math.tan(0.5 * (Math.PI/2 - lat)) / Math.pow((1 - sinlat) / (1 + sinlat), 0.5*e);
    166168    }
  • trunk/src/org/openstreetmap/josm/data/projection/proj/AlbersEqualArea.java

    r9426 r9428  
    7272
    7373    /**
    74      * Standards parallel 1 in radians, for {@link #getParameterValues} implementation.
     74     * Standards parallel 1 in radians.
    7575     */
    7676    private double phi1;
    7777
    7878    /**
    79      * Standards parallel 2 in radians, for {@link #getParameterValues} implementation.
     79     * Standards parallel 2 in radians.
    8080     */
    8181    private double phi2;
  • trunk/src/org/openstreetmap/josm/data/projection/proj/PolarStereographic.java

    r9426 r9428  
    88
    99/**
    10  * The polar case of the {@linkplain Stereographic stereographic} projection.
     10 * The polar case of the stereographic projection.
    1111 * <p>
    1212 * In the proj.4 library, the code "stere" covers several variants of the
     
    7575    /**
    7676     * A constant used in the transformations.
    77      * This is <strong>not</strong> equal to the {@link #scaleFactor}.
    7877     */
    7978    private double k0;
     
    115114        southPole = latitudeTrueScale < 0;
    116115
    117         /*
    118          * Computes coefficients.
    119          */
     116        // Computes coefficients.
    120117        double latitudeTrueScaleAbs = Math.abs(latitudeTrueScale);
    121118        if (Math.abs(latitudeTrueScaleAbs - Math.PI/2) >= EPSILON) {
     
    126123            // True scale at pole (part of (21-33))
    127124            k0 = 2.0 / Math.sqrt(Math.pow(1+e, 1+e)*
    128                             Math.pow(1-e, 1-e));
     125                                 Math.pow(1-e, 1-e));
    129126        }
    130127    }
Note: See TracChangeset for help on using the changeset viewer.