Mercurial > dive4elements > river
annotate artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/SalixLineCalculationResults.java @ 9556:9b8e8fc1f408
Use facetName in all processors as themeType for legend aggregation.
author | gernotbelger |
---|---|
date | Tue, 23 Oct 2018 16:26:58 +0200 |
parents | ee6508687e3f |
children |
rev | line source |
---|---|
8996 | 1 /** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde |
9150
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
8996
diff
changeset
|
2 * Software engineering by |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
8996
diff
changeset
|
3 * Björnsen Beratende Ingenieure GmbH |
8996 | 4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt |
5 * | |
6 * This file is Free Software under the GNU AGPL (>=v3) | |
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the | |
8 * documentation coming with Dive4Elements River for details. | |
9 */ | |
10 package org.dive4elements.river.artifacts.uinfo.salix; | |
11 | |
9426
b6e595f1696f
Activated cross section output mode for salix line and implemented some themes preliminary.
gernotbelger
parents:
9361
diff
changeset
|
12 import java.io.Serializable; |
b6e595f1696f
Activated cross section output mode for salix line and implemented some themes preliminary.
gernotbelger
parents:
9361
diff
changeset
|
13 |
8996 | 14 import org.apache.commons.lang.math.DoubleRange; |
9170 | 15 import org.dive4elements.river.artifacts.common.AbstractCalculationResults; |
8996 | 16 import org.dive4elements.river.artifacts.sinfo.util.RiverInfo; |
17 | |
18 /** | |
19 * @author Domenico Nardi Tironi | |
20 */ | |
9426
b6e595f1696f
Activated cross section output mode for salix line and implemented some themes preliminary.
gernotbelger
parents:
9361
diff
changeset
|
21 public final class SalixLineCalculationResults extends AbstractCalculationResults<SalixLineCalculationResult> { |
8996 | 22 |
23 private static final long serialVersionUID = 1L; | |
24 | |
25 public SalixLineCalculationResults(final String calcModeLabel, final String user, final RiverInfo river, final DoubleRange calcRange) { | |
26 super(calcModeLabel, user, river, calcRange); | |
27 } | |
9426
b6e595f1696f
Activated cross section output mode for salix line and implemented some themes preliminary.
gernotbelger
parents:
9361
diff
changeset
|
28 |
9514
ee6508687e3f
Added default vegetation zones tzo iota result map.
gernotbelger
parents:
9426
diff
changeset
|
29 public double getCrossSectionLine(final double currentKm, final Serializable waterLineIndex, final double nextKm, final double prevKm) { |
9426
b6e595f1696f
Activated cross section output mode for salix line and implemented some themes preliminary.
gernotbelger
parents:
9361
diff
changeset
|
30 |
b6e595f1696f
Activated cross section output mode for salix line and implemented some themes preliminary.
gernotbelger
parents:
9361
diff
changeset
|
31 final SalixLineCrossSectionIndexData indexData = (SalixLineCrossSectionIndexData) waterLineIndex; |
9514
ee6508687e3f
Added default vegetation zones tzo iota result map.
gernotbelger
parents:
9426
diff
changeset
|
32 return indexData.getCrossSectionLine(this, currentKm, nextKm, prevKm); |
9426
b6e595f1696f
Activated cross section output mode for salix line and implemented some themes preliminary.
gernotbelger
parents:
9361
diff
changeset
|
33 } |
8996 | 34 } |