comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.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 d626ae185305
children ed07dd55f487
comparison
equal deleted inserted replaced
2651:9e9eb9d97548 2652:9d2a06c3a134
1 package de.intevation.flys.artifacts; 1 package de.intevation.flys.artifacts;
2 2
3 import de.intevation.flys.geom.Lines;
3 4
4 import de.intevation.flys.model.FastCrossSectionLine; 5 import de.intevation.flys.model.FastCrossSectionLine;
5 /** 6 /**
6 * Interface, Artifact can create WaterLines (Water against Cross-Profile). 7 * Interface, Artifact can create WaterLines (Water against Cross-Profile).
7 */ 8 */
8 public interface WaterLineArtifact { 9 public interface WaterLineArtifact {
9 10
10 /** Get points that define a line of a (water)facet against a cross- 11 /** Get points that define a line of a (water)facet against a cross-
11 * section. */ 12 * section. */
12 public double [][] getWaterLines(int facetIdx, FastCrossSectionLine csl); 13 public Lines.LineData getWaterLines(int facetIdx, FastCrossSectionLine csl);
13 } 14 }
14 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 15 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org