sidnet.core.misc
Class Path

java.lang.Object
  extended by sidnet.core.misc.Path

public class Path
extends java.lang.Object


Constructor Summary
Path(int x, int y, long time)
          Creates a new instance of Path
 
Method Summary
 void addPoint(int x, int y, long time)
           
 int getCurrentPoint(long currentTime)
           
 int getNumberOfPoints()
           
 long timeByIndex(int i)
           
 int xByIndex(int i)
           
 int yByIndex(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Path

public Path(int x,
            int y,
            long time)
Creates a new instance of Path

Method Detail

addPoint

public void addPoint(int x,
                     int y,
                     long time)

getNumberOfPoints

public int getNumberOfPoints()

xByIndex

public int xByIndex(int i)

yByIndex

public int yByIndex(int i)

timeByIndex

public long timeByIndex(int i)

getCurrentPoint

public int getCurrentPoint(long currentTime)