public final class PSnav extends AREAnav
Constructor and Description |
---|
PSnav(int[] iparms)
Set up for the real math work.
|
Modifier and Type | Method and Description |
---|---|
double[][] |
toLatLon(double[][] linele)
converts from satellite coordinates to latitude/longitude
|
double[][] |
toLinEle(double[][] latlon)
toLinEle converts lat/long to satellite line/element
|
areaCoordToImageCoord, areaCoordToImageCoord, areaCoordToImageCoord, areaCoordToImageCoord, canApproximateWithSpline, doubleToFloat, equals, floatToDouble, getLineOffset, getSubpoint, imageCoordToAreaCoord, imageCoordToAreaCoord, imageCoordToAreaCoord, imageCoordToAreaCoord, isFlippedLineCoordinates, makeAreaNav, makeAreaNav, setFlipLineCoordinates, setImageStart, setMag, setMag, setRes, setRes, setStart, toLatLon, toLinEle, toString
public PSnav(int[] iparms) throws IllegalArgumentException
iparms
- the nav block from the image fileIllegalArgumentException
- if the nav block is not a RECT type.public double[][] toLatLon(double[][] linele)
toLatLon
in class AREAnav
linele
- 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)
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.