Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/WKms.java @ 7081:3c4efd4b2c19 generator-refactoring
Simplyfy / unify "invert axis" logic
- DataUtil now can check if two datasets are in the same direction
- In the case of WKM data a no means that the Water flows Right to Left
- If the water flows from right to left do inversion of diagrams
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 20 Sep 2013 17:36:11 +0200 |
parents | af13ceeba52a |
children | 1cff4c98df76 |
comparison
equal
deleted
inserted
replaced
7080:02a704a37323 | 7081:3c4efd4b2c19 |
---|---|
22 TDoubleArrayList allKms(); | 22 TDoubleArrayList allKms(); |
23 | 23 |
24 TDoubleArrayList allWs(); | 24 TDoubleArrayList allWs(); |
25 | 25 |
26 boolean guessWaterIncreasing(); | 26 boolean guessWaterIncreasing(); |
27 | |
28 /** Guess if the Water flows from right to left. | |
29 * | |
30 * @return True if km's and ws's both grow in the same direction */ | |
31 boolean guessRTLData(); | |
27 } | 32 } |
28 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : | 33 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |