comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/RasterObject.java @ 885:1c3efbd2fc5a

Removes trailing whitespace. geo-backend/trunk@850 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 29 Mar 2010 07:49:16 +0000
parents 7615ee5d1345
children 8b442223741c
comparison
equal deleted inserted replaced
884:12f88239fb33 885:1c3efbd2fc5a
17 17
18 /** 18 /**
19 * @author Tim Englich (tim.englich@intevation.de) 19 * @author Tim Englich (tim.englich@intevation.de)
20 * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) 20 * @author Sascha L. Teichmann (sascha.teichmann@intevation.de)
21 */ 21 */
22 public class RasterObject 22 public class RasterObject
23 implements Serializable 23 implements Serializable
24 { 24 {
25 private static Logger log = Logger.getLogger(RasterObject.class); 25 private static Logger log = Logger.getLogger(RasterObject.class);
26 26
27 public static final int NEAREST_NEIGHBOR = 0; 27 public static final int NEAREST_NEIGHBOR = 0;
48 } 48 }
49 49
50 public RasterObject( 50 public RasterObject(
51 double mx, double bx, 51 double mx, double bx,
52 double my, double by, 52 double my, double by,
53 int columnIndex, 53 int columnIndex,
54 int rowIndex, 54 int rowIndex,
55 double [] rasterData, 55 double [] rasterData,
56 int tileWidth, 56 int tileWidth,
57 int tileHeight 57 int tileHeight
58 ){ 58 ){
90 } 90 }
91 91
92 public int getRowIndex() { 92 public int getRowIndex() {
93 return rowIndex; 93 return rowIndex;
94 } 94 }
95 95
96 public double getValue(Coordinate coordinate) { 96 public double getValue(Coordinate coordinate) {
97 return getValue(coordinate, NEAREST_NEIGHBOR); 97 return getValue(coordinate, NEAREST_NEIGHBOR);
98 } 98 }
99 99
100 public final double interpolateBilinear(double px, double py) { 100 public final double interpolateBilinear(double px, double py) {

http://dive4elements.wald.intevation.org