Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/math/Point2d.java @ 365:f66088a43ecc
Added horizontal crossprofile charts to chart pallet. Fixed some bugs before interpolation.
gnv-artifacts/trunk@440 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 16 Dec 2009 19:29:05 +0000 |
parents | aec85d00d82c |
children | 422275fc9927 |
comparison
equal
deleted
inserted
replaced
364:2413273f1c13 | 365:f66088a43ecc |
---|---|
9 * @author Sascha L. Teichmann | 9 * @author Sascha L. Teichmann |
10 */ | 10 */ |
11 public class Point2d | 11 public class Point2d |
12 extends Coordinate | 12 extends Coordinate |
13 { | 13 { |
14 public static final double EPSILON = 1e-5d; | 14 public static final double EPSILON = 1e-3d; |
15 | 15 |
16 public static final Comparator X_COMPARATOR = new Comparator() { | 16 public static final Comparator X_COMPARATOR = new Comparator() { |
17 public int compare(Object a, Object b) { | 17 public int compare(Object a, Object b) { |
18 double xa = ((Coordinate)a).x; | 18 double xa = ((Coordinate)a).x; |
19 double xb = ((Coordinate)b).x; | 19 double xb = ((Coordinate)b).x; |