sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1690294 - /sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorAlternative.java
Date Fri, 10 Jul 2015 17:33:52 GMT
Author: desruisseaux
Date: Fri Jul 10 17:33:51 2015
New Revision: 1690294

URL: http://svn.apache.org/r1690294
Log:
More explanation.

Modified:
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorAlternative.java

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorAlternative.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorAlternative.java?rev=1690294&r1=1690293&r2=1690294&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorAlternative.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorAlternative.java
[UTF-8] Fri Jul 10 17:33:51 2015
@@ -40,6 +40,11 @@ import static java.lang.Math.*;
  * But the errors become centimetric (for a planet of the size of the Earth) before excentricity
0.2
  * and increase quickly after excentricity 0.3.</p>
  *
+ * <p>For the WGS84 ellipsoid and the iteration tolerance given by the {@link NormalizedProjection#ITERATION_TOLERANCE}
+ * constant (currently about 0.25 cm), the two methods have equivalent precision. Computing
φ values for millions of
+ * random numbers and verifying which method is the most accurate give fifty-fifty results:
each method win in about
+ * 50% of cases. But as we increase the excentricity, the iterative method wins more often.</p>
+ *
  * @author  Martin Desruisseaux (Geomatys)
  * @since   0.6
  * @version 0.6



Mime
View raw message