diff gnv-artifacts/src/main/java/de/intevation/gnv/math/GridCell.java @ 519:4e347624ee7c

Last part to fix gnv/issue153. Now 'Profilschnitte', 'Horizontalschnitte' and 'horizontale Schnittprofile' all use the same x/y interpolation code. gnv-artifacts/trunk@613 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sat, 23 Jan 2010 21:16:45 +0000
parents 96a1e92e7ed2
children b248531fa20b
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/math/GridCell.java	Sat Jan 23 18:10:34 2010 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/math/GridCell.java	Sat Jan 23 21:16:45 2010 +0000
@@ -127,10 +127,6 @@
             row.put(p.j, p);
         }
 
-        if (log.isDebugEnabled()) {
-            log.debug("culled points: " + culled);
-        }
-
         ArrayList<GridCell> cells = new ArrayList<GridCell>(points.size());
 
         for (int i = minI + 1; i <= maxI; ++i) {
@@ -150,6 +146,13 @@
             }
         } // for all rows
 
+        if (log.isDebugEnabled()) {
+            log.debug("culled points: " + culled);
+            log.debug("min/max i: " + minI + " / " + maxI);
+            log.debug("min/max j: " + minJ + " / " + maxJ);
+            log.debug("cells found: " + cells.size());
+        }
+
         return cells;
     }
 }

http://dive4elements.wald.intevation.org