|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.d.umn.geometry.GroundCoordinates
public class 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
index of latitude part of coordinate. |
static int |
LONGITUDE
index of longitude part of coordinate. |
static double |
METERS_PER_NAUTICAL_MILE
Number of meters in a nautical mile. |
static double |
METERS_PER_NAUTICAL_SECOND
Number of meters in a nautical second. |
static double |
NAUTICAL_SECONDS_PER_METER
Number of nautical seconds in a meter. |
double[] |
ne
latitude and longitude of north east coordinate. |
double[] |
nw
latitude and longitude of north west coordinate. |
double[] |
se
latitude and longitude of south east coordinate. |
static double |
SECONDS_PER_NAUTICAL_MILE
Number of seconds in a nautical mile. |
double[] |
sw
latitude and longitude of south west coordinate. |
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 |