teichmann@5863: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5863: * Software engineering by Intevation GmbH teichmann@5863: * teichmann@5994: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5863: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5994: * documentation coming with Dive4Elements River for details. teichmann@5863: */ teichmann@5863: teichmann@5831: package org.dive4elements.river.artifacts.model; sascha@925: sascha@1678: import gnu.trove.TDoubleArrayList; sascha@1678: sascha@925: public interface WKms sascha@925: extends NamedObject sascha@925: { sascha@925: int size(); sascha@925: sascha@925: double getKm(int index); sascha@925: sascha@925: double getW(int index); sascha@1678: sascha@1678: TDoubleArrayList allKms(); sascha@1678: sascha@1678: TDoubleArrayList allWs(); felix@2420: teichmann@4817: boolean guessWaterIncreasing(); aheinecke@7081: aheinecke@7081: /** Guess if the Water flows from right to left. aheinecke@7081: * aheinecke@7081: * @return True if km's and ws's both grow in the same direction */ aheinecke@7081: boolean guessRTLData(); sascha@925: } sascha@925: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :