Package edu.wisc.ssec.mcidasv.data
Class GeoDataToDisplayCoordinateSystem
java.lang.Object
visad.CoordinateSystem
edu.wisc.ssec.mcidasv.data.GeoDataToDisplayCoordinateSystem
- All Implemented Interfaces:
Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CoordinateSystem
private CoordinateSystem
private float
private float
private boolean
private float
private float
private MapProjectionDisplay
private double
private double
private double
private double
-
Constructor Summary
ConstructorsConstructorDescriptionGeoDataToDisplayCoordinateSystem
(boolean isLL, CoordinateSystem dataCS, CoordinateSystem displayCS) -
Method Summary
Modifier and TypeMethodDescriptionprivate float[][]
bypassFromReference
(float[][] xyz) Transform display XYZ values to latitude/longitude/altitudeprivate float[][]
bypassToReference
(float[][] xyz) boolean
double[][]
fromReference
(double[][] values) float[][]
fromReference
(float[][] values) float[]
void
private double[][]
reverseArrayOrder
(double[][] in) private float[][]
reverseArrayOrder
(float[][] in) protected void
setDisplayMaster
(DisplayMaster dspMaster) double[][]
toReference
(double[][] values) float[][]
toReference
(float[][] values) Methods inherited from class visad.CoordinateSystem
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits
-
Field Details
-
dataCS
-
displayCS
-
isLL
-
mapProjDisp
-
scaleX
-
scaleY
-
offsetX
-
offsetY
-
lineLo
-
lineHi
-
eleLo
-
eleHi
-
-
Constructor Details
-
GeoDataToDisplayCoordinateSystem
GeoDataToDisplayCoordinateSystem(boolean isLL, CoordinateSystem dataCS, CoordinateSystem displayCS) throws VisADException - Throws:
VisADException
-
-
Method Details
-
setDisplayMaster
-
getExtremes
-
resetExtremes
-
toReference
- Overrides:
toReference
in classCoordinateSystem
- Throws:
VisADException
-
bypassToReference
-
fromReference
- Overrides:
fromReference
in classCoordinateSystem
- Throws:
VisADException
-
bypassFromReference
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
- Specified by:
toReference
in classCoordinateSystem
- Throws:
VisADException
-
fromReference
- Specified by:
fromReference
in classCoordinateSystem
- Throws:
VisADException
-
equals
- Specified by:
equals
in classCoordinateSystem
-
reverseArrayOrder
-
reverseArrayOrder
-