Class WorldDataBase

java.lang.Object
  |
  +--WorldDataBase

public class WorldDataBase
extends java.lang.Object

The WorldDataBase class defines the interface between the World DataBase file and the objects that use the data within it. The World Database contains statistical information about the enviroment at every possible Vertex.

See Also:
Vertex

Constructor Summary
WorldDataBase()
          Creates an empty WorldDataBase interface class.
WorldDataBase(java.lang.String s)
          Creates a World Data Base interface class and an InputFileStream using the given filename string.
 
Method Summary
 Vertex readVertex(int az, int el)
          Reads the World Database for the given azimuth and elevation and returns a Vertex class filled with the data from the Database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorldDataBase

public WorldDataBase()
Creates an empty WorldDataBase interface class.

WorldDataBase

public WorldDataBase(java.lang.String s)
Creates a World Data Base interface class and an InputFileStream using the given filename string.
Parameters:
s - Filename of the World Database file.
Method Detail

readVertex

public Vertex readVertex(int az,
                         int el)
Reads the World Database for the given azimuth and elevation and returns a Vertex class filled with the data from the Database.
Parameters:
az - azimuth
el - elevation