Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/WstValueTable.java @ 9499:853f2dafc16e
VegetationZones in CrossSectionsDiagram
author | gernotbelger |
---|---|
date | Thu, 27 Sep 2018 18:06:26 +0200 |
parents | bcbae86ce7b3 |
children |
comparison
equal
deleted
inserted
replaced
9496:d8e753d0fdb9 | 9499:853f2dafc16e |
---|---|
618 } | 618 } |
619 | 619 |
620 /** | 620 /** |
621 * Interpolates a W for a km using a Q column position | 621 * Interpolates a W for a km using a Q column position |
622 */ | 622 */ |
623 public double interpolateW(final double km, final QPosition qPosition, final Calculation errors) { | 623 public double interpolateW(final double km, final QPosition qPosition) { |
624 | 624 |
625 int rowIndex = Collections.binarySearch(this.rows, new Row(km)); | 625 int rowIndex = Collections.binarySearch(this.rows, new Row(km)); |
626 | 626 |
627 if (rowIndex >= 0) { // direct row match | 627 if (rowIndex >= 0) { // direct row match |
628 final Row row = this.rows.get(rowIndex); | 628 final Row row = this.rows.get(rowIndex); |