public final class RADRnav extends AREAnav
| Constructor and Description |
|---|
RADRnav(int[] iparms)
Set up for the real math work.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Determines whether or not the
Object in question is
the same as this AREAnav. |
double[][] |
toLatLon(double[][] linele)
converts from satellite coordinates to latitude/longitude
|
float[][] |
toLatLon(float[][] linele)
converts from satellite coordinates to latitude/longitude
|
double[][] |
toLinEle(double[][] latlon)
toLinEle converts lat/long to satellite line/element
|
float[][] |
toLinEle(float[][] latlon)
toLinEle converts lat/long to satellite line/element
|
areaCoordToImageCoord, areaCoordToImageCoord, areaCoordToImageCoord, areaCoordToImageCoord, canApproximateWithSpline, doubleToFloat, floatToDouble, getLineOffset, getSubpoint, imageCoordToAreaCoord, imageCoordToAreaCoord, imageCoordToAreaCoord, imageCoordToAreaCoord, isFlippedLineCoordinates, makeAreaNav, makeAreaNav, setFlipLineCoordinates, setImageStart, setMag, setMag, setRes, setRes, setStart, toStringpublic RADRnav(int[] iparms)
throws java.lang.IllegalArgumentException
iparms - the nav block from the image filejava.lang.IllegalArgumentException - if the nav block is not a RADR type.public double[][] toLatLon(double[][] linele)
toLatLon in class AREAnavlinele - array of line/element pairs. Where
linele[indexLine][] is a 'line' and
linele[indexEle][] is an element. These are in
'file' coordinates (not "image" coordinates.)public double[][] toLinEle(double[][] latlon)
toLinEle in class AREAnavlatlon - array of lat/long pairs. Where latlon[indexLat][]
are latitudes and latlon[indexLon][] are longitudes.public float[][] toLatLon(float[][] linele)
toLatLon in class AREAnavlinele - array of line/element pairs. Where
linele[indexLine][] is a 'line' and
linele[indexEle][] is an element. These are in
'file' coordinates (not "image" coordinates.)public float[][] toLinEle(float[][] latlon)
toLinEle in class AREAnavlatlon - array of lat/long pairs. Where latlon[indexLat][]
are latitudes and latlon[indexLon][] are longitudes.public boolean equals(java.lang.Object o)
AREAnavObject in question is
the same as this AREAnav. Right now, this returns
false until we can figure out when two navigations are equal.
Subclasses could override if desired.