edu.wisc.ssec.mcidasv.data
Class GeoDataToDisplayCoordinateSystem
java.lang.Object
visad.CoordinateSystem
edu.wisc.ssec.mcidasv.data.GeoDataToDisplayCoordinateSystem
- All Implemented Interfaces:
- Serializable
class GeoDataToDisplayCoordinateSystem
- extends CoordinateSystem
Methods inherited from class visad.CoordinateSystem |
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits |
dataCS
private CoordinateSystem dataCS
displayCS
private CoordinateSystem displayCS
isLL
private boolean isLL
mapProjDisp
private MapProjectionDisplay mapProjDisp
scaleX
private double scaleX
scaleY
private double scaleY
offsetX
private double offsetX
offsetY
private double offsetY
lineLo
private float lineLo
lineHi
private float lineHi
eleLo
private float eleLo
eleHi
private float eleHi
GeoDataToDisplayCoordinateSystem
GeoDataToDisplayCoordinateSystem(boolean isLL,
CoordinateSystem dataCS,
CoordinateSystem displayCS)
throws VisADException
- Throws:
VisADException
setDisplayMaster
protected void setDisplayMaster(DisplayMaster dspMaster)
getExtremes
public float[] getExtremes()
resetExtremes
public void resetExtremes()
toReference
public float[][] toReference(float[][] values)
throws VisADException
- Overrides:
toReference
in class CoordinateSystem
- Throws:
VisADException
bypassToReference
private float[][] bypassToReference(float[][] xyz)
fromReference
public float[][] fromReference(float[][] values)
throws VisADException
- Overrides:
fromReference
in class CoordinateSystem
- Throws:
VisADException
bypassFromReference
private float[][] bypassFromReference(float[][] xyz)
throws VisADException
- Transform display XYZ values to latitude/longitude/altitude
- Parameters:
xyz
- array of Display.DisplaySpatialCartesianTuple XYZ values
- Returns:
- array of display lat/lon/alt values.
- Throws:
VisADException
- can't create the necessary VisAD object
toReference
public double[][] toReference(double[][] values)
throws VisADException
- Specified by:
toReference
in class CoordinateSystem
- Throws:
VisADException
fromReference
public double[][] fromReference(double[][] values)
throws VisADException
- Specified by:
fromReference
in class CoordinateSystem
- Throws:
VisADException
equals
public boolean equals(Object obj)
- Specified by:
equals
in class CoordinateSystem
reverseArrayOrder
private double[][] reverseArrayOrder(double[][] in)
reverseArrayOrder
private float[][] reverseArrayOrder(float[][] in)