Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java @ 399:53cc794fee07
Improved the transition model and added states to enable the 'discharge longitudinal section' computation - NOTE: the work in this computation has not finished yet.
flys-artifacts/trunk@1830 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 05 May 2011 06:12:44 +0000 |
parents | 435058da0eae |
children | eb22ffe4d74c |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java Thu May 05 05:27:41 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java Thu May 05 06:12:44 2011 +0000 @@ -596,6 +596,19 @@ /** + * Returns the gauges that match the selected kilometer range. + * + * @return the gauges based on the selected kilometer range. + */ + public List<Gauge> getGauges() { + River river = getRiver(); + double[] dist = getDistance(); + + return river.determineGauges(dist[0], dist[1]); + } + + + /** * This method returns the Q values. * * @return the selected Q values or null, if no Q values are selected.