comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadDataFacet.java @ 8204:c657ddcf1fa6

Sediment loads at measurement stations and longitudinal sections need different processing and styling for diagrams.
author Tom Gottfried <tom@intevation.de>
date Fri, 05 Sep 2014 14:53:58 +0200
parents e4606eae8ea5
children 5e38e2924c07
comparison
equal deleted inserted replaced
8203:238fc722f87a 8204:c657ddcf1fa6
112 return null; 112 return null;
113 } 113 }
114 114
115 return fractions.get(index).getData(); 115 return fractions.get(index).getData();
116 116
117 /* Are gaps neccessary now?
118 for (int x = 0; x < values[0].length-1; x++) {
119 // Introduce gaps where no data in measurement station.
120 if (Math.abs(values[0][x+1] - values[0][x]) > 3*EPSILON
121 && values[1][x+1] != values[1][x]) {
122 values[0][x] = Double.NaN;
123 values[1][x] = Double.NaN;
124 }
125 }
126
127 return values; */
128 } 117 }
129 118
130 /** Copy deeply. */ 119 /** Copy deeply. */
131 @Override 120 @Override
132 public Facet deepCopy() { 121 public Facet deepCopy() {

http://dive4elements.wald.intevation.org