|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--GroundCoordinates
This class is used to store the ground coordinates of a terrain data segment the latitude and longitude of each corner of the terrain area are stored in arc-second units
Field Summary | |
static int |
LATITUDE
|
static int |
LONGITUDE
|
static double |
METERS_PER_NAUTICAL_MILE
|
static double |
METERS_PER_NAUTICAL_SECOND
|
static double |
NAUTICAL_SECONDS_PER_METER
|
double[] |
ne
|
double[] |
nw
|
double[] |
se
|
static double |
SECONDS_PER_NAUTICAL_MILE
|
double[] |
sw
|
Constructor Summary | |
GroundCoordinates()
create ground coordinate object with all values set to null |
Method Summary | |
float |
lengthMeters()
calculate the length (east to west) of the segment |
float |
lengthSeconds()
calculate the length (east to west) of the segment |
java.lang.String |
toString()
convert to string for display purposes |
float |
widthMeters()
calculate the width (south to north ) of the segment |
float |
widthSeconds()
calculate the width (south to north ) of the segment |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public double[] sw
public double[] nw
public double[] ne
public double[] se
public static final int LONGITUDE
public static final int LATITUDE
public static final double SECONDS_PER_NAUTICAL_MILE
public static final double METERS_PER_NAUTICAL_MILE
public static final double METERS_PER_NAUTICAL_SECOND
public static final double NAUTICAL_SECONDS_PER_METER
Constructor Detail |
public GroundCoordinates()
Method Detail |
public float lengthMeters()
public float widthMeters()
public float lengthSeconds()
public float widthSeconds()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |