Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java @ 742:c09c9e05ecfa
Removed trailing whitespace.
flys-artifacts/trunk@2243 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 26 Jun 2011 17:18:59 +0000 |
parents | d5f9ba1d055f |
children | 0b6dac664bbb |
comparison
equal
deleted
inserted
replaced
741:e54203e52097 | 742:c09c9e05ecfa |
---|---|
203 log.debug(" " + x[j] + " -> " + y[j]); | 203 log.debug(" " + x[j] + " -> " + y[j]); |
204 } | 204 } |
205 } | 205 } |
206 | 206 |
207 PolynomialSplineFunction spline; | 207 PolynomialSplineFunction spline; |
208 | 208 |
209 try { | 209 try { |
210 spline = interpolator.interpolate(x, y); | 210 spline = interpolator.interpolate(x, y); |
211 } | 211 } |
212 catch (MathIllegalArgumentException miae) { | 212 catch (MathIllegalArgumentException miae) { |
213 // TODO: I18N | 213 // TODO: I18N |
223 log.debug(x[j] + " " + y[j] + " " + spline.value(x[j])); | 223 log.debug(x[j] + " " + y[j] + " " + spline.value(x[j])); |
224 } | 224 } |
225 } | 225 } |
226 | 226 |
227 for (back = Math.max(back, 0); | 227 for (back = Math.max(back, 0); |
228 back < i && km[back] < end; | 228 back < i && km[back] < end; |
229 ++back | 229 ++back |
230 ) { | 230 ) { |
231 // to 3/4 point fill with spline values | 231 // to 3/4 point fill with spline values |
232 ws[back] = spline.value(km[back]); | 232 ws[back] = spline.value(km[back]); |
233 } | 233 } |