Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/MainValuesQFacet.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | 27d42c9ee367 |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
51 /** | 51 /** |
52 * Set the hit-point in Q where a line drawn from the axis would hit the | 52 * Set the hit-point in Q where a line drawn from the axis would hit the |
53 * curve in WQDay (if hit). | 53 * curve in WQDay (if hit). |
54 * Employ linear interpolation. | 54 * Employ linear interpolation. |
55 */ | 55 */ |
56 protected static void setHitPoint(WQDay wqday, StickyAxisAnnotation annotation) { | 56 protected static void setHitPoint( |
57 WQDay wqday, | |
58 StickyAxisAnnotation annotation | |
59 ) { | |
57 | 60 |
58 float q = annotation.getPos(); | 61 float q = annotation.getPos(); |
59 Double day = wqday.interpolateDayByQ(q); | 62 Double day = wqday.interpolateDayByQ(q); |
60 | 63 |
61 if (day != null) { | 64 if (day != null) { |