Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/math/LinearMetrics.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 | aec85d00d82c |
children | bb7afd783321 |
comparison
equal
deleted
inserted
replaced
797:9d2891068ba5 | 798:6cff63d0c434 |
---|---|
1 package de.intevation.gnv.math; | 1 package de.intevation.gnv.math; |
2 | 2 |
3 import com.vividsolutions.jts.geom.Coordinate; | 3 import com.vividsolutions.jts.geom.Coordinate; |
4 | 4 |
5 /** | 5 /** |
6 * @author Sascha L. Teichmann | 6 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
7 */ | 7 */ |
8 public final class LinearMetrics | 8 public final class LinearMetrics |
9 implements Metrics | 9 implements Metrics |
10 { | 10 { |
11 public static final Metrics INSTANCE = | 11 public static final Metrics INSTANCE = |
54 | 54 |
55 public Interpolator getInterpolator(Coordinate p1, Coordinate p2) { | 55 public Interpolator getInterpolator(Coordinate p1, Coordinate p2) { |
56 return new LinearInterpolator(p1, p2); | 56 return new LinearInterpolator(p1, p2); |
57 } | 57 } |
58 } | 58 } |
59 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: | 59 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |