Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java @ 385:478940d06876
Enabled the WINFO artifact to create duration curves - new OutGenerator, added methods for data computation.
flys-artifacts/trunk@1802 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 03 May 2011 12:05:32 +0000 |
parents | dcc3cd962c0e |
children | 929137ee8154 |
comparison
equal
deleted
inserted
replaced
384:88614ddfc1e3 | 385:478940d06876 |
---|---|
58 double[] mm = extractLocations(locationStr); | 58 double[] mm = extractLocations(locationStr); |
59 | 59 |
60 logger.debug("Inserted min location: " + mm[0]); | 60 logger.debug("Inserted min location: " + mm[0]); |
61 logger.debug("Inserted max location: " + mm[mm.length-1]); | 61 logger.debug("Inserted max location: " + mm[mm.length-1]); |
62 | 62 |
63 return validateBounds(minmax[0], minmax[1], mm[0], mm[1], 0d); | 63 return validateBounds(minmax[0], minmax[1], mm[0], mm[mm.length-1], 0d); |
64 } | 64 } |
65 | 65 |
66 | 66 |
67 /** | 67 /** |
68 * This method takes a string that consist of whitespace separated double | 68 * This method takes a string that consist of whitespace separated double |