sascha@361: package de.intevation.gnv.math;
sascha@361: 
sascha@361: import com.vividsolutions.jts.geom.Coordinate;
sascha@361: 
sascha@361: /**
sascha@805:  * Implementations of this interface interpolate coordinates
sascha@805:  * a line at a given point determined by a factor t (0 &lt;= t &lt;= 1).<br>
sascha@805:  * If t = 0 the start point of the line is used.<br>
sascha@805:  * If t = 1 the start point of the line is used.
sascha@798:  * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a>
sascha@361:  */
sascha@361: public interface Interpolator
sascha@361: {
sascha@805:     /**
sascha@805:      * Interpolates a point along a line with a given factor between 0 and 1.
sascha@805:      * @param t The factor.
sascha@805:      * @param v The result of the interpolation is stored in this coordinate.
sascha@805:      */
sascha@361:     void interpolate(double t, Coordinate v);
sascha@361: }
sascha@798: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :