ingo@1115: /* ingo@1115: * Copyright (c) 2010 by Intevation GmbH ingo@1115: * ingo@1115: * This program is free software under the LGPL (>=v2.1) ingo@1115: * Read the file LGPL.txt coming with the software for details ingo@1115: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@1115: */ ingo@1115: sascha@433: package de.intevation.gnv.math; sascha@433: sascha@433: import com.vividsolutions.jts.geom.Coordinate; sascha@433: sascha@433: /** sascha@798: * Interface to encapsulate the query of the depth at a given point. sascha@798: * @author Sascha L. Teichmann sascha@433: */ sascha@433: public interface XYDepth sascha@433: { sascha@798: /** sascha@798: * Returns the depth at a given coordinate. Negative sascha@798: * values are below the water surface. sascha@798: * @param coordinate The coordinate where to take the depth. sascha@798: * @return The depth at the queried coordinate. NaN is no sascha@798: * depth is available at the given point. sascha@798: */ sascha@433: double depth(Coordinate coordinate); sascha@433: } sascha@798: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :