Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java @ 2652:9d2a06c3a134
Added DataType for lines that also stores width, use it. Added HasLabel interface for some series.
flys-artifacts/trunk@4318 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 27 Apr 2012 09:58:21 +0000 |
parents | 3f24865082da |
children | f53173a8736b |
comparison
equal
deleted
inserted
replaced
2651:9e9eb9d97548 | 2652:9d2a06c3a134 |
---|---|
768 * Get points of line describing the surface of water at cross section. | 768 * Get points of line describing the surface of water at cross section. |
769 * | 769 * |
770 * @return an array holding coordinates of points of surface of water ( | 770 * @return an array holding coordinates of points of surface of water ( |
771 * in the form {{x1, x2} {y1, y2}} ). | 771 * in the form {{x1, x2} {y1, y2}} ). |
772 */ | 772 */ |
773 public double [][] getWaterLines(int idx, FastCrossSectionLine csl) { | 773 @Override |
774 public Lines.LineData getWaterLines(int idx, FastCrossSectionLine csl) { | |
774 logger.debug("getWaterLines(" + idx + ")"); | 775 logger.debug("getWaterLines(" + idx + ")"); |
775 | 776 |
776 List<Point2D> points = csl.getPoints(); | 777 List<Point2D> points = csl.getPoints(); |
777 | 778 |
778 // Need W at km | 779 // Need W at km |