Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/MainValuesWFacet.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 |
---|---|
47 /** | 47 /** |
48 * Set the hit-point in W where a line drawn from the axis would hit the | 48 * Set the hit-point in W where a line drawn from the axis would hit the |
49 * curve in WQDay (if hit). | 49 * curve in WQDay (if hit). |
50 * Employ linear interpolation. | 50 * Employ linear interpolation. |
51 */ | 51 */ |
52 protected static void setHitPoint(WQDay wqday, StickyAxisAnnotation annotation) { | 52 protected static void setHitPoint( |
53 WQDay wqday, | |
54 StickyAxisAnnotation annotation | |
55 ) { | |
53 float w = annotation.getPos(); | 56 float w = annotation.getPos(); |
54 | 57 |
55 Double day = wqday.interpolateDayByW(w); | 58 Double day = wqday.interpolateDayByW(w); |
56 | 59 |
57 if (day != null) { | 60 if (day != null) { |