[Dive4elements-commits] [PATCH 1 of 3] Use QKMs in calculation of the 'Umhuellende'
Wald Commits
scm-commit at wald.intevation.org
Mon Jan 21 14:03:45 CET 2013
# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1358768820 -3600
# Node ID 243f1eb02b9573271f0a5942476019a50f93af08
# Parent 4d457c68b1d3ba1f9617052bb3c6d7ed1523034c
Use QKMs in calculation of the 'Umhuellende'.
diff -r 4d457c68b1d3 -r 243f1eb02b95 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/InfoldingColumns.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/InfoldingColumns.java Mon Jan 21 12:23:56 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/InfoldingColumns.java Mon Jan 21 12:47:00 2013 +0100
@@ -31,18 +31,18 @@
return infoldingColumns;
}
- public void markInfoldingColumns(WQKms [] wqkms) {
- for (WQKms wqk: wqkms) {
- markInfoldingColumns(wqk);
+ public void markInfoldingColumns(QKms [] qkms) {
+ for (QKms qk: qkms) {
+ markInfoldingColumns(qk);
}
}
- public void markInfoldingColumns(WQKms wqkms) {
- int N = wqkms.size();
+ public void markInfoldingColumns(QKms qkms) {
+ int N = qkms.size();
int C = qFinders.length-1;
for (int i = 0; i < N; ++i) {
- double km = wqkms.getKm(i);
- double q = wqkms.getQ(i);
+ double km = qkms.getKm(i);
+ double q = qkms.getQ(i);
double above = Double.MAX_VALUE;
double below = -Double.MAX_VALUE;
int aboveIdx = -1;
More information about the Dive4elements-commits
mailing list