Class StationInfo

java.lang.Object
  extended byStationInfo

public class StationInfo
extends java.lang.Object

Reprents station information file. Have functions to get latitude and longitude for each station.

Author:
Lulin Song

Method Summary
 float[] getLatitudes()
          Get the longitude among the stations
 float[] getLongitudes()
          Get the longitude among the stations
 float getMaxLatitude()
          Get the maximum latitude among the stations
 float getMaxLongitude()
          Get the maximum longitude among the stations
 float getMinLatitude()
          Get the minimum latitude among the stations
 float getMinLongitude()
          Get the minimum longitude among the stations
 double getStationLat(int stationNo)
          Get station latitude for a station.
 double getStationLon(int stationNo)
          Get station longitude for a station.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStationLat

public double getStationLat(int stationNo)
Get station latitude for a station.

Parameters:
stationNo - station number
Returns:
latitude value

getStationLon

public double getStationLon(int stationNo)
Get station longitude for a station.

Parameters:
stationNo - station number
Returns:
longitude value

getMinLatitude

public float getMinLatitude()
Get the minimum latitude among the stations


getMinLongitude

public float getMinLongitude()
Get the minimum longitude among the stations


getMaxLatitude

public float getMaxLatitude()
Get the maximum latitude among the stations


getMaxLongitude

public float getMaxLongitude()
Get the maximum longitude among the stations


getLongitudes

public float[] getLongitudes()
Get the longitude among the stations


getLatitudes

public float[] getLatitudes()
Get the longitude among the stations