Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/math/ConstantXYDepth.java @ 445:f42ed4f10b79
Fixed some bugs and create "Profilschnitt" polygons via configuration.
gnv-artifacts/trunk@493 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 30 Dec 2009 23:02:10 +0000 |
parents | |
children | c4156275c1e1 |
comparison
equal
deleted
inserted
replaced
444:85f48e287fb3 | 445:f42ed4f10b79 |
---|---|
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: |