You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2013/11/03 20:51:35 UTC
svn commit: r1538428 - in /sis/branches/JDK7/core/sis-referencing/src:
main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java
test/java/org/apache/sis/referencing/datum/BursaWolfParametersTest.java
Author: desruisseaux
Date: Sun Nov 3 19:51:35 2013
New Revision: 1538428
URL: http://svn.apache.org/r1538428
Log:
The previous commit accidentally contained sis-referencing changes which were not yet ready.
Instead than reverting the commit, just add "TODO" comments for what need to be completed.
Modified:
sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java
sis/branches/JDK7/core/sis-referencing/src/test/java/org/apache/sis/referencing/datum/BursaWolfParametersTest.java
Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java?rev=1538428&r1=1538427&r2=1538428&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java [UTF-8] (original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java [UTF-8] Sun Nov 3 19:51:35 2013
@@ -378,7 +378,7 @@ public class BursaWolfParameters extends
final double sgn = inverse ? -1 : +1;
final DoubleDouble S = new DoubleDouble(PPM, 0);
S.inverseDivide(sgn*dS, 0);
-
+ // TODO: finish computation using double-double arithmetic.
}
final double sgn = inverse ? -1 : +1;
final double S = 1 + sgn*dS / PPM;
Modified: sis/branches/JDK7/core/sis-referencing/src/test/java/org/apache/sis/referencing/datum/BursaWolfParametersTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/test/java/org/apache/sis/referencing/datum/BursaWolfParametersTest.java?rev=1538428&r1=1538427&r2=1538428&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/test/java/org/apache/sis/referencing/datum/BursaWolfParametersTest.java [UTF-8] (original)
+++ sis/branches/JDK7/core/sis-referencing/src/test/java/org/apache/sis/referencing/datum/BursaWolfParametersTest.java [UTF-8] Sun Nov 3 19:51:35 2013
@@ -54,6 +54,9 @@ public final strictfp class BursaWolfPar
-p.rY*RS, +p.rX*RS, S, sgn*p.tZ,
0, 0, 0, 1);
}
+
+ // TODO: use above method for checking BursaWolfParameters calculations.
+
/**
* Tests {@link BursaWolfParameters#getPositionVectorTransformation(boolean)}.
* This test transform a point from WGS72 to WGS84, and conversely,