diff gnv-artifacts/src/main/java/de/intevation/gnv/math/Point2d.java @ 431:422275fc9927

Refactored the XYColumn and Point2d code a bit to be more reusable in 3D. gnv-artifacts/trunk@479 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 23 Dec 2009 06:53:46 +0000
parents f66088a43ecc
children b248531fa20b
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/math/Point2d.java	Tue Dec 22 20:45:45 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/math/Point2d.java	Wed Dec 23 06:53:46 2009 +0000
@@ -59,6 +59,12 @@
     public Point2d() {
     }
 
+    public Point2d(double x, double y, int i, int j) {
+        super(x, y);
+        this.i = i;
+        this.j = j;
+    }
+
     public Point2d(double x, double y, double z, int i, int j) {
         super(x, y, z);
         this.i = i;

http://dive4elements.wald.intevation.org