class GeoDataToDisplayCoordinateSystem extends CoordinateSystem
Modifier and Type | Field and Description |
---|---|
private CoordinateSystem |
dataCS |
private CoordinateSystem |
displayCS |
private float |
eleHi |
private float |
eleLo |
private boolean |
isLL |
private float |
lineHi |
private float |
lineLo |
private ucar.unidata.view.geoloc.MapProjectionDisplay |
mapProjDisp |
private double |
offsetX |
private double |
offsetY |
private double |
scaleX |
private double |
scaleY |
Constructor and Description |
---|
GeoDataToDisplayCoordinateSystem(boolean isLL,
CoordinateSystem dataCS,
CoordinateSystem displayCS) |
Modifier and Type | Method and Description |
---|---|
private float[][] |
bypassFromReference(float[][] xyz)
Transform display XYZ values to latitude/longitude/altitude
|
private float[][] |
bypassToReference(float[][] xyz) |
boolean |
equals(java.lang.Object obj) |
double[][] |
fromReference(double[][] values) |
float[][] |
fromReference(float[][] values) |
float[] |
getExtremes() |
void |
resetExtremes() |
private double[][] |
reverseArrayOrder(double[][] in) |
private float[][] |
reverseArrayOrder(float[][] in) |
protected void |
setDisplayMaster(ucar.visad.display.DisplayMaster dspMaster) |
double[][] |
toReference(double[][] values) |
float[][] |
toReference(float[][] values) |
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits
private CoordinateSystem dataCS
private CoordinateSystem displayCS
private boolean isLL
private ucar.unidata.view.geoloc.MapProjectionDisplay mapProjDisp
private double scaleX
private double scaleY
private double offsetX
private double offsetY
private float lineLo
private float lineHi
private float eleLo
private float eleHi
GeoDataToDisplayCoordinateSystem(boolean isLL, CoordinateSystem dataCS, CoordinateSystem displayCS) throws VisADException
VisADException
protected void setDisplayMaster(ucar.visad.display.DisplayMaster dspMaster)
public float[] getExtremes()
public void resetExtremes()
public float[][] toReference(float[][] values) throws VisADException
toReference
in class CoordinateSystem
VisADException
private float[][] bypassToReference(float[][] xyz)
public float[][] fromReference(float[][] values) throws VisADException
fromReference
in class CoordinateSystem
VisADException
private float[][] bypassFromReference(float[][] xyz) throws VisADException
xyz
- array of Display.DisplaySpatialCartesianTuple XYZ valuesVisADException
- can't create the necessary VisAD objectpublic double[][] toReference(double[][] values) throws VisADException
toReference
in class CoordinateSystem
VisADException
public double[][] fromReference(double[][] values) throws VisADException
fromReference
in class CoordinateSystem
VisADException
public boolean equals(java.lang.Object obj)
equals
in class CoordinateSystem
private double[][] reverseArrayOrder(double[][] in)
private float[][] reverseArrayOrder(float[][] in)