|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.dataAccess.dted.DTEDFrameUtil
public class DTEDFrameUtil
This class does the conversions that are required for converting latitudes and longitudes into filenames, and from string values of latitudes and longitudes from within a DTED file to float values.
Constructor Summary | |
---|---|
DTEDFrameUtil()
|
Method Summary | |
---|---|
static java.lang.String |
latToFileString(float lat,
int level)
Conversion of a float latitude value and DTED level to a DTED filename. |
static java.lang.String |
lonToFileString(float lon)
Conversion of a float longitude value to a DTED parent directory of frame files. |
static float |
stringToLat(java.lang.String text_lat)
Conversion of string found in DTED file to float value. |
static float |
stringToLon(java.lang.String text_lon)
Conversion of a string value of a longitude to a float. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DTEDFrameUtil()
Method Detail |
---|
public static float stringToLat(java.lang.String text_lat)
text_lat
- the String representation of the latitude, from
the file.
public static float stringToLon(java.lang.String text_lon)
text_lon
- the longitude String representation, out of a
DTED file.
public static java.lang.String latToFileString(float lat, int level)
lat
- latitude in decimal degrees.level
- the DTED level.
public static java.lang.String lonToFileString(float lon)
lon
- longitude in decimal degrees.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |