View Javadoc

1   /*
2    * @(#) InterpolationInterface.java Mar 4, 2004
3    * 
4    * Copyright (c) 2003 Delft University of Technology Jaffalaan 5, 2628 BX Delft,
5    * the Netherlands All rights reserved.
6    * 
7    * This software is proprietary information of Delft University of Technology
8    * The code is published under the General Public License
9    */
10  package nl.tudelft.simulation.dsol.animation.interpolation;
11  
12  import java.rmi.RemoteException;
13  
14  import nl.tudelft.simulation.language.d3.DirectedPoint;
15  
16  
17  /***
18   * A InterpolationInterface <br>
19   * (c) copyright 2003 <a href="http://www.simulation.tudelft.nl">Delft
20   * University of Technology </a>, the Netherlands. <br>
21   * See for project information <a
22   * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
23   * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
24   * License (GPL) </a>, no warranty <br>
25   * 
26   * @version 1.0 Mar 4, 2004 <br>
27   * @author <a href="http://www.simulation.tudelft.nl/people/jacobs.html">Peter
28   *         Jacobs </a>
29   */
30  public interface InterpolationInterface
31  {
32  	/***
33  	 * returns the current location
34  	 * 
35  	 * @param time the current time
36  	 * @return DirectedPoint the current location
37  	 * @throws RemoteException on network failure
38  	 */
39  	DirectedPoint getLocation(final double time) throws RemoteException;
40  }