Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/math/ConstantXYDepth.java @ 657:af3f56758f59
merged gnv-artifacts/0.5
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:13:53 +0200 |
parents | f42ed4f10b79 |
children | c4156275c1e1 |
comparison
equal
deleted
inserted
replaced
590:5f5f273c8566 | 657:af3f56758f59 |
---|---|
1 package de.intevation.gnv.math; | |
2 | |
3 import com.vividsolutions.jts.geom.Coordinate; | |
4 | |
5 /** | |
6 * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) | |
7 */ | |
8 public class ConstantXYDepth | |
9 implements XYDepth | |
10 { | |
11 protected double depth; | |
12 | |
13 public ConstantXYDepth() { | |
14 } | |
15 | |
16 public ConstantXYDepth(double depth) { | |
17 this.depth = depth; | |
18 } | |
19 | |
20 public double depth(Coordinate coordinate) { | |
21 return depth; | |
22 } | |
23 } | |
24 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: |