comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Segment.java @ 3552:1df6984628c3

S/Q: Extented the result data model of the S/Q calculation to store the curve coefficients for each iteration step of the outlier elimination. flys-artifacts/trunk@5146 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 27 Jul 2012 12:36:09 +0000
parents fc351f12b906
children 1ddbf66a2b0a
comparison
equal deleted inserted replaced
3551:e7f1556192b3 3552:1df6984628c3
54 public boolean isUp() { 54 public boolean isUp() {
55 return from < to; 55 return from < to;
56 } 56 }
57 57
58 public boolean inside(double km) { 58 public boolean inside(double km) {
59 return from < to 59 return from < to
60 ? km >= from && km <= to 60 ? km >= from && km <= to
61 : km >= to && km <= from; 61 : km >= to && km <= from;
62 } 62 }
63 63
64 @Override 64 @Override

http://dive4elements.wald.intevation.org