Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/math/Interpolation2D.java @ 798:6cff63d0c434
Fixed vim modeline. Added some Javadoc.
gnv-artifacts/trunk@880 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 06 Apr 2010 11:05:00 +0000 |
parents | c4156275c1e1 |
children | a645bd23c1c8 |
comparison
equal
deleted
inserted
replaced
797:9d2891068ba5 | 798:6cff63d0c434 |
---|---|
236 double m = (y2-y1)/(x2-x1); | 236 double m = (y2-y1)/(x2-x1); |
237 double b = y1 - m*x1; | 237 double b = y1 - m*x1; |
238 return m*x + b; | 238 return m*x + b; |
239 } | 239 } |
240 } | 240 } |
241 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: | 241 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |