Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/WstValueTable.java @ 6711:0f0f09badd29
Doc.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 30 Jul 2013 07:35:57 +0200 |
parents | 898afcce1d0a |
children | 254a3f3556ee |
comparison
equal
deleted
inserted
replaced
6710:ffc9cb39cea7 | 6711:0f0f09badd29 |
---|---|
848 ) { | 848 ) { |
849 return interpolate( | 849 return interpolate( |
850 q, referenceKm, kms, ws, qs, 0, kms.length, errors); | 850 q, referenceKm, kms, ws, qs, 0, kms.length, errors); |
851 } | 851 } |
852 | 852 |
853 /** | |
854 * Interpolate Q at given positions. | |
855 * @param kms positions for which to calculate qs and ws | |
856 * @param ws [out] calculated ws for kms | |
857 * @param qs [out] looked up qs for kms. | |
858 */ | |
853 public QPosition interpolate( | 859 public QPosition interpolate( |
854 double q, | 860 double q, |
855 double referenceKm, | 861 double referenceKm, |
856 double [] kms, | 862 double [] kms, |
857 double [] ws, | 863 double [] ws, |