changeset 1980:d377b89d2827

Added WaterLineArtifact Interface. flys-artifacts/trunk@3410 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 14 Dec 2011 10:40:30 +0000
parents a7c437c9547e
children bf62cc7052d4
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java
diffstat 2 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Dec 14 10:20:56 2011 +0000
+++ b/flys-artifacts/ChangeLog	Wed Dec 14 10:40:30 2011 +0000
@@ -1,3 +1,11 @@
+2011-12-14	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	Added interface WaterLineArtifact to be implemented by artifacts
+	that know how to create a water line "against" a cross section.
+
+	* src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
+	  New, straight-forward interface.
+
 2011-12-14  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/exports/EmptySettings.java: An
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java	Wed Dec 14 10:40:30 2011 +0000
@@ -0,0 +1,13 @@
+package de.intevation.flys.artifacts;
+
+import de.intevation.flys.model.CrossSectionLine;
+/**
+ * Interfacet, Artifact can create WaterLines (Water against Cross-Profile).
+ */
+public interface WaterLineArtifact {
+
+    /** Get points that define a line of a (water)facet against a cross-
+     * section. */
+    public double [][] getWaterLines(int facetIdx, CrossSectionLine csl);
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org