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 <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a>
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 :