as.clynx.interfaces
Class DistanceFile

java.lang.Object
  extended by as.clynx.interfaces.DistanceFile

public class DistanceFile
extends java.lang.Object

The class DistanceFile.java loads the sample.distance file in the sample directory which contain all positioninfos of the tracks. if no position was defined the default position is (0/0).

Version:
cLynx v.1.2, JDK 6.0: 29.10.2007
Author:
Andreas Senfter - andreas@senfters.com

Constructor Summary
DistanceFile(java.lang.String dir)
          Constructor
 
Method Summary
 Position2D getPositionOf(java.lang.String trackName)
          returns the Position2D instance of the corresponding trackname
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistanceFile

public DistanceFile(java.lang.String dir)
             throws InvalidDistanceFileException
Constructor

Parameters:
dir -
Throws:
InvalidDistanceFileException
Method Detail

getPositionOf

public Position2D getPositionOf(java.lang.String trackName)
returns the Position2D instance of the corresponding trackname

Parameters:
trackName -
Returns:
the Position2D instance of the corresponding trackname