commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r512380 - in /jakarta/commons/proper/math/trunk/src: java/org/apache/commons/math/geometry/ mantissa/src/org/spaceroots/mantissa/geometry/ mantissa/tests-src/org/spaceroots/mantissa/geometry/ test/org/apache/commons/math/geometry/
Date Tue, 27 Feb 2007 20:22:33 GMT
Author: luc
Date: Tue Feb 27 12:22:32 2007
New Revision: 512380

URL: http://svn.apache.org/viewvc?view=rev&rev=512380
Log:
added the geometry package from Mantissa

Added:
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/CardanEulerSingularityException.java
      - copied, changed from r512377, jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/CardanEulerSingularityException.java
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/NotARotationMatrixException.java
      - copied, changed from r512377, jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/NotARotationMatrixException.java
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/Rotation.java
      - copied, changed from r512377, jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/Rotation.java
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/RotationOrder.java
      - copied, changed from r512377, jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/RotationOrder.java
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/Vector3D.java
      - copied, changed from r512377, jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/Vector3D.java
    jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/geometry/
    jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/geometry/RotationTest.java
      - copied, changed from r512377, jakarta/commons/proper/math/trunk/src/mantissa/tests-src/org/spaceroots/mantissa/geometry/RotationTest.java
    jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/geometry/Vector3DTest.java
      - copied, changed from r512377, jakarta/commons/proper/math/trunk/src/mantissa/tests-src/org/spaceroots/mantissa/geometry/Vector3DTest.java
Removed:
    jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/CardanEulerSingularityException.java
    jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/NotARotationMatrixException.java
    jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/Rotation.java
    jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/RotationOrder.java
    jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/Vector3D.java
    jakarta/commons/proper/math/trunk/src/mantissa/tests-src/org/spaceroots/mantissa/geometry/RotationTest.java
    jakarta/commons/proper/math/trunk/src/mantissa/tests-src/org/spaceroots/mantissa/geometry/Vector3DTest.java

Copied: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/CardanEulerSingularityException.java
(from r512377, jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/CardanEulerSingularityException.java)
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/CardanEulerSingularityException.java?view=diff&rev=512380&p1=jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/CardanEulerSingularityException.java&r1=512377&p2=jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/CardanEulerSingularityException.java&r2=512380
==============================================================================
--- jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/CardanEulerSingularityException.java
(original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/CardanEulerSingularityException.java
Tue Feb 27 12:22:32 2007
@@ -15,9 +15,9 @@
 // specific language governing permissions and limitations
 // under the License.
 
-package org.spaceroots.mantissa.geometry;
+package org.apache.commons.math.geometry;
 
-import org.spaceroots.mantissa.MantissaException;
+import org.apache.commons.math.MathException;
 
 /** This class represents exceptions thrown while extractiong Cardan
  * or Euler angles from a rotation.
@@ -28,7 +28,7 @@
  */
 
 public class CardanEulerSingularityException
-  extends MantissaException {
+  extends MathException {
 
   /** Simple constructor.
    * build an exception with a default message.
@@ -36,7 +36,7 @@
    * if false it is related to EulerAngles
    */
   public CardanEulerSingularityException(boolean isCardan) {
-    super(isCardan ? "Cardan angles singularity" : "Euler angles singularity");
+    super(isCardan ? "Cardan angles singularity" : "Euler angles singularity", new Object[0]);
   }
 
   private static final long serialVersionUID = -1360952845582206770L;

Copied: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/NotARotationMatrixException.java
(from r512377, jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/NotARotationMatrixException.java)
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/NotARotationMatrixException.java?view=diff&rev=512380&p1=jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/NotARotationMatrixException.java&r1=512377&p2=jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/NotARotationMatrixException.java&r2=512380
==============================================================================
--- jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/NotARotationMatrixException.java
(original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/NotARotationMatrixException.java
Tue Feb 27 12:22:32 2007
@@ -15,9 +15,9 @@
 // specific language governing permissions and limitations
 // under the License.
 
-package org.spaceroots.mantissa.geometry;
+package org.apache.commons.math.geometry;
 
-import org.spaceroots.mantissa.MantissaException;
+import org.apache.commons.math.MathException;
 
 /** This class represents exceptions thrown while building rotations
  * from matrices.
@@ -28,7 +28,7 @@
  */
 
 public class NotARotationMatrixException
-  extends MantissaException {
+  extends MathException {
 
   /** Simple constructor.
    * Build an exception by translating and formating a message

Copied: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/Rotation.java
(from r512377, jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/Rotation.java)
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/Rotation.java?view=diff&rev=512380&p1=jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/Rotation.java&r1=512377&p2=jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/Rotation.java&r2=512380
==============================================================================
--- jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/Rotation.java
(original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/Rotation.java
Tue Feb 27 12:22:32 2007
@@ -15,7 +15,7 @@
 // specific language governing permissions and limitations
 // under the License.
 
-package org.spaceroots.mantissa.geometry;
+package org.apache.commons.math.geometry;
 
 import java.io.Serializable;
 

Copied: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/RotationOrder.java
(from r512377, jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/RotationOrder.java)
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/RotationOrder.java?view=diff&rev=512380&p1=jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/RotationOrder.java&r1=512377&p2=jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/RotationOrder.java&r2=512380
==============================================================================
--- jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/RotationOrder.java
(original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/RotationOrder.java
Tue Feb 27 12:22:32 2007
@@ -15,7 +15,7 @@
 // specific language governing permissions and limitations
 // under the License.
 
-package org.spaceroots.mantissa.geometry;
+package org.apache.commons.math.geometry;
 
 /**
  * This class is a utility representing a rotation order specification

Copied: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/Vector3D.java
(from r512377, jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/Vector3D.java)
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/Vector3D.java?view=diff&rev=512380&p1=jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/Vector3D.java&r1=512377&p2=jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/Vector3D.java&r2=512380
==============================================================================
--- jakarta/commons/proper/math/trunk/src/mantissa/src/org/spaceroots/mantissa/geometry/Vector3D.java
(original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/geometry/Vector3D.java
Tue Feb 27 12:22:32 2007
@@ -15,7 +15,7 @@
 // specific language governing permissions and limitations
 // under the License.
 
-package org.spaceroots.mantissa.geometry;
+package org.apache.commons.math.geometry;
 
 import java.io.Serializable;
 

Copied: jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/geometry/RotationTest.java
(from r512377, jakarta/commons/proper/math/trunk/src/mantissa/tests-src/org/spaceroots/mantissa/geometry/RotationTest.java)
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/geometry/RotationTest.java?view=diff&rev=512380&p1=jakarta/commons/proper/math/trunk/src/mantissa/tests-src/org/spaceroots/mantissa/geometry/RotationTest.java&r1=512377&p2=jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/geometry/RotationTest.java&r2=512380
==============================================================================
--- jakarta/commons/proper/math/trunk/src/mantissa/tests-src/org/spaceroots/mantissa/geometry/RotationTest.java
(original)
+++ jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/geometry/RotationTest.java
Tue Feb 27 12:22:32 2007
@@ -15,7 +15,13 @@
 // specific language governing permissions and limitations
 // under the License.
 
-package org.spaceroots.mantissa.geometry;
+package org.apache.commons.math.geometry;
+
+import org.apache.commons.math.geometry.CardanEulerSingularityException;
+import org.apache.commons.math.geometry.NotARotationMatrixException;
+import org.apache.commons.math.geometry.Rotation;
+import org.apache.commons.math.geometry.RotationOrder;
+import org.apache.commons.math.geometry.Vector3D;
 
 import junit.framework.*;
 

Copied: jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/geometry/Vector3DTest.java
(from r512377, jakarta/commons/proper/math/trunk/src/mantissa/tests-src/org/spaceroots/mantissa/geometry/Vector3DTest.java)
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/geometry/Vector3DTest.java?view=diff&rev=512380&p1=jakarta/commons/proper/math/trunk/src/mantissa/tests-src/org/spaceroots/mantissa/geometry/Vector3DTest.java&r1=512377&p2=jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/geometry/Vector3DTest.java&r2=512380
==============================================================================
--- jakarta/commons/proper/math/trunk/src/mantissa/tests-src/org/spaceroots/mantissa/geometry/Vector3DTest.java
(original)
+++ jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/geometry/Vector3DTest.java
Tue Feb 27 12:22:32 2007
@@ -15,7 +15,9 @@
 // specific language governing permissions and limitations
 // under the License.
 
-package org.spaceroots.mantissa.geometry;
+package org.apache.commons.math.geometry;
+
+import org.apache.commons.math.geometry.Vector3D;
 
 import junit.framework.*;
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message