Changeset 9428 in josm

Ignore:
Timestamp:
2016-01-13T02:02:36+01:00 (9 years ago)
Message:

see #12186 - fix some javadoc warnings

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

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

 r9419 /** * Ellipsoid excentricity, equals to sqrt({@link #excentricitySquared}). * Ellipsoid excentricity, equals to sqrt({@link #e2 excentricity squared}). * Value 0 means that the ellipsoid is spherical. * * @see #excentricitySquared * @see #e2 */ protected double e; * a is the semi major axis length and * b is the semi minor axis length. * * @see #e */ protected double e2; * Computes function f(s,c,e²) = c/sqrt(1 - s²×e²) needed for the true scale * latitude (Snyder 14-15), where s and c are the sine and cosine of * the true scale latitude, and is the {@linkplain #excentricitySquared * eccentricity squared}. * the true scale latitude, and is the {@linkplain #e2 eccentricity squared}. * @param s sine of the true scale latitude * @param c cosine of the true scale latitude * @return c/sqrt(1 - s²×e²) */ final double msfn(final double s, final double c) { final double tsfn(final double lat, double sinlat) { sinlat *= e; /* * NOTE: change sign to get the equivalent of Snyder (7-7). */ // NOTE: change sign to get the equivalent of Snyder (7-7). return Math.tan(0.5 * (Math.PI/2 - lat)) / Math.pow((1 - sinlat) / (1 + sinlat), 0.5*e); }
• trunk/src/org/openstreetmap/josm/data/projection/proj/AlbersEqualArea.java

 r9426 /** * Standards parallel 1 in radians, for {@link #getParameterValues} implementation. * Standards parallel 1 in radians. */ private double phi1; /** * Standards parallel 2 in radians, for {@link #getParameterValues} implementation. * Standards parallel 2 in radians. */ private double phi2;
• trunk/src/org/openstreetmap/josm/data/projection/proj/PolarStereographic.java

 r9426 /** * The polar case of the {@linkplain Stereographic stereographic} projection. * The polar case of the stereographic projection. *

* In the proj.4 library, the code "stere" covers several variants of the /** * A constant used in the transformations. * This is not equal to the {@link #scaleFactor}. */ private double k0; southPole = latitudeTrueScale < 0; /* * Computes coefficients. */ // Computes coefficients. double latitudeTrueScaleAbs = Math.abs(latitudeTrueScale); if (Math.abs(latitudeTrueScaleAbs - Math.PI/2) >= EPSILON) { // True scale at pole (part of (21-33)) k0 = 2.0 / Math.sqrt(Math.pow(1+e, 1+e)* Math.pow(1-e, 1-e)); Math.pow(1-e, 1-e)); } }

Note: See TracChangeset for help on using the changeset viewer.