|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectStationInfo
Represents station information file. Have functions to get latitude and longitude for each station.
Method Summary | |
float[] |
getLatitudes()
Get all longitudes of stations |
float[] |
getLongitudes()
Get all longitudes of 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. |
int |
getTotalStations()
Get total number of stations. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int getTotalStations()
public double getStationLat(int stationNo)
stationNo
- station number ( start from one, not zero )
public double getStationLon(int stationNo)
stationNo
- station number ( start from one, not zero )
public float getMinLatitude()
public float getMinLongitude()
public float getMaxLatitude()
public float getMaxLongitude()
public float[] getLongitudes()
public float[] getLatitudes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |