comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/SalixLineCrossSectionIndexData.java @ 9514:ee6508687e3f

Added default vegetation zones tzo iota result map.
author gernotbelger
date Mon, 01 Oct 2018 13:03:42 +0200
parents e8b1255fc89e
children
comparison
equal deleted inserted replaced
9513:1722727803f7 9514:ee6508687e3f
8 * documentation coming with Dive4Elements River for details. 8 * documentation coming with Dive4Elements River for details.
9 */ 9 */
10 package org.dive4elements.river.artifacts.uinfo.salix; 10 package org.dive4elements.river.artifacts.uinfo.salix;
11 11
12 import java.io.Serializable; 12 import java.io.Serializable;
13
14 import org.dive4elements.artifacts.CallContext;
15 13
16 /** 14 /**
17 * The 'index' that tells the cross section facet which of my result are to be fetched as a cross section line. 15 * The 'index' that tells the cross section facet which of my result are to be fetched as a cross section line.
18 * 16 *
19 * @author Gernot Belger 17 * @author Gernot Belger
66 private SalixLineCrossSectionIndexData(final Integer scenarioIndex, final SalixWaterlevel waterlevel) { 64 private SalixLineCrossSectionIndexData(final Integer scenarioIndex, final SalixWaterlevel waterlevel) {
67 this.scenarioIndex = scenarioIndex; 65 this.scenarioIndex = scenarioIndex;
68 this.waterlevel = waterlevel; 66 this.waterlevel = waterlevel;
69 } 67 }
70 68
71 public double getCrossSectionLine(final SalixLineCalculationResults results, final double currentKm, final double nextKm, final double prevKm, 69 public double getCrossSectionLine(final SalixLineCalculationResults results, final double currentKm, final double nextKm, final double prevKm) {
72 final CallContext context) {
73 70
74 final SalixLineCalculationResult result = results.getResults().get(this.resultIndex); 71 final SalixLineCalculationResult result = results.getResults().get(this.resultIndex);
75 72
76 if (this.scenarioIndex != null) { 73 if (this.scenarioIndex != null) {
77 // fetch scenario result data = salix line value at km 74 // fetch scenario result data = salix line value at km

http://dive4elements.wald.intevation.org