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 CoordinateSystemprivate CoordinateSystemprivate floatprivate floatprivate booleanprivate floatprivate floatprivate MapProjectionDisplayprivate doubleprivate doubleprivate doubleprivate 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) booleandouble[][]fromReference(double[][] values) float[][]fromReference(float[][] values) float[]voidprivate double[][]reverseArrayOrder(double[][] in) private float[][]reverseArrayOrder(float[][] in) protected voidsetDisplayMaster(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:
toReferencein classCoordinateSystem- Throws:
VisADException
-
bypassToReference
-
fromReference
- Overrides:
fromReferencein 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:
toReferencein classCoordinateSystem- Throws:
VisADException
-
fromReference
- Specified by:
fromReferencein classCoordinateSystem- Throws:
VisADException
-
equals
- Specified by:
equalsin classCoordinateSystem
-
reverseArrayOrder
-
reverseArrayOrder
-