view flys-artifacts/src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java @ 4442:26774405c884

Introduce a new FixingsFacet to add save access to the current Km Values which are accessed by a String like a map must be checked for null. The new FixingsFacet adds a getCurrentKm method that abstracts the direct access to the CallContext and always returns a valid double value.
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 07 Nov 2012 14:06:03 +0100
parents 31168ac9c7e7
children 6153c50f78cf
line wrap: on
line source
package de.intevation.flys.artifacts;

import de.intevation.flys.artifacts.geom.Lines;
import de.intevation.flys.model.FastCrossSectionLine;
/**
 * Interface, 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 Lines.LineData getWaterLines(int facetIdx, FastCrossSectionLine csl, double d, double w);
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org