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 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(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(DisplayMaster dspMaster) |
double[][] |
toReference(double[][] values) |
float[][] |
toReference(float[][] values) |
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnitsprivate CoordinateSystem dataCS
private CoordinateSystem displayCS
private boolean isLL
private 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
VisADExceptionprotected void setDisplayMaster(DisplayMaster dspMaster)
public float[] getExtremes()
public void resetExtremes()
public float[][] toReference(float[][] values) throws VisADException
toReference in class CoordinateSystemVisADExceptionprivate float[][] bypassToReference(float[][] xyz)
public float[][] fromReference(float[][] values) throws VisADException
fromReference in class CoordinateSystemVisADExceptionprivate 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 CoordinateSystemVisADExceptionpublic double[][] fromReference(double[][] values) throws VisADException
fromReference in class CoordinateSystemVisADExceptionpublic boolean equals(Object obj)
equals in class CoordinateSystemprivate double[][] reverseArrayOrder(double[][] in)
private float[][] reverseArrayOrder(float[][] in)