comparison gnv-artifacts/src/main/java/de/intevation/gnv/math/Interpolation2D.java @ 778:9a828e5a2390

Removed trailing whitespace gnv-artifacts/trunk@851 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 29 Mar 2010 07:58:51 +0000
parents 44415ae01ddb
children c4156275c1e1
comparison
equal deleted inserted replaced
777:8009961db1cb 778:9a828e5a2390
174 for (double p = from; p <= to; p += dP) { 174 for (double p = from; p <= to; p += dP) {
175 if (!linearToMap.locate(p, center)) { 175 if (!linearToMap.locate(p, center)) {
176 continue; 176 continue;
177 } 177 }
178 queryBuffer.init( 178 queryBuffer.init(
179 center.x - EPS, center.x + EPS, 179 center.x - EPS, center.x + EPS,
180 center.y - EPS, center.y + EPS); 180 center.y - EPS, center.y + EPS);
181 181
182 finder.prepare(center); 182 finder.prepare(center);
183 spatialIndex.query(queryBuffer, finder); 183 spatialIndex.query(queryBuffer, finder);
184 184
218 consumer.interpolated(center, true); 218 consumer.interpolated(center, true);
219 ++interpolations; 219 ++interpolations;
220 } 220 }
221 221
222 if (debug) { 222 if (debug) {
223 log.debug("interpolations: " + 223 log.debug("interpolations: " +
224 interpolations + " / " + missedInterpolations); 224 interpolations + " / " + missedInterpolations);
225 } 225 }
226 } 226 }
227 227
228 public static final double interpolate( 228 public static final double interpolate(

http://dive4elements.wald.intevation.org