comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java @ 1125:65d8b3340397

Cleanups of CrossSection*. flys-artifacts/trunk@2635 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 01 Sep 2011 13:00:36 +0000
parents 111794adf285
children 073c36bb94ed
comparison
equal deleted inserted replaced
1124:28a595b32980 1125:65d8b3340397
671 return CrossSectionApp.createWaterLines(points, 130); 671 return CrossSectionApp.createWaterLines(points, 130);
672 } 672 }
673 673
674 674
675 /** 675 /**
676 * Get name of cross section.
677 */
678 public String getCrossSectionName() {
679 return getCrossSections().get(0).getDescription();
680 }
681
682
683 /**
676 * Get points of CrossSection Line. 684 * Get points of CrossSection Line.
677 */ 685 */
678 protected double [][] getCrossSectionProfile(CrossSectionLine csl) { 686 protected double [][] getCrossSectionProfile(CrossSectionLine csl) {
679 List<Point2D> points = getCrossSectionLinesPoints(csl); 687 List<Point2D> points = getCrossSectionLinesPoints(csl);
680 double [] xs = new double[points.size()]; 688 double [] xs = new double[points.size()];

http://dive4elements.wald.intevation.org