Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/process/BedWidthProcessor.java @ 7828:8faa8cfd2385 minfo-opt
Renamed the incorrectly named morph width to sounding width.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 27 Mar 2014 14:56:34 +0100 |
parents | 4374a8d26706 |
children | d9791fa3c8ad |
comparison
equal
deleted
inserted
replaced
7826:982382d9ea8b | 7828:8faa8cfd2385 |
---|---|
54 } else if (data instanceof MorphologicWidth) { | 54 } else if (data instanceof MorphologicWidth) { |
55 MorphologicWidth bData = (MorphologicWidth) data; | 55 MorphologicWidth bData = (MorphologicWidth) data; |
56 StyledSeriesBuilder.addPoints(series, bData.getAsArray(), true); | 56 StyledSeriesBuilder.addPoints(series, bData.getAsArray(), true); |
57 } else if (data instanceof BedHeightSingleData) { | 57 } else if (data instanceof BedHeightSingleData) { |
58 BedHeightSingleData bData = (BedHeightSingleData)data; | 58 BedHeightSingleData bData = (BedHeightSingleData)data; |
59 double[] width = bData.getMorphWidths(); | 59 double[] width = bData.getSoundingWidths(); |
60 double[] stations = bData.getStations().toNativeArray(); | 60 double[] stations = bData.getStations().toNativeArray(); |
61 | 61 |
62 for (int i = 0; i < width.length; i++) { | 62 for (int i = 0; i < width.length; i++) { |
63 series.add(stations[i], width[i], false); | 63 series.add(stations[i], width[i], false); |
64 } | 64 } |