comparison gnv-artifacts/src/main/java/de/intevation/gnv/chart/HorizontalProfileChart.java @ 370:061355435075

Changed depending value for gap detection in verticalprofile charts on meshes. gnv-artifacts/trunk@447 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 17 Dec 2009 13:21:43 +0000
parents 07a64cfafdf1
children 24a85678bd39
comparison
equal deleted inserted replaced
369:77cd3a2bc381 370:061355435075
264 ); 264 );
265 265
266 return (smallDelta > (3.0 / (count - 1) * delta)); 266 return (smallDelta > (3.0 / (count - 1) * delta));
267 } 267 }
268 268
269 @Override
270 protected String getDependendAxisName(Result first, Result second) {
271 if (first.getInteger("IPOSITION") == second.getInteger("IPOSITION"))
272 return "JPOSITION";
273
274 return "IPOSITION";
275 }
269 276
270 private Point getPoint(Result result) 277 private Point getPoint(Result result)
271 throws ParseException 278 throws ParseException
272 { 279 {
273 return (Point) wktReader.read(result.getString("SHAPE")); 280 return (Point) wktReader.read(result.getString("SHAPE"));

http://dive4elements.wald.intevation.org