protected class MapProjectionDisplay.MapProjection3DAdapter
extends visad.CoordinateSystem
implements visad.InverseLinearScaledCS
Constructor and Description |
---|
MapProjection3DAdapter(visad.georef.MapProjection mapProjection)
Construct a new CoordinateSystem which uses a MapProjection for
the transformations between x,y and lat/lon.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
See if this is equal to the object in question.
|
double[][] |
fromReference(double[][] xyz)
Transform display XYZ values to latitude/longitude/altitude
|
float[][] |
fromReference(float[][] xyz)
Transform display XYZ values to latitude/longitude/altitude
|
visad.CoordinateSystem |
getInvertedCoordinateSystem()
Get the inverted coordinate system
|
visad.georef.MapProjection |
getMapProjection()
Return the MapProjection being used by the CoordinateSystem.
|
double[] |
getOffset()
Get the offset
|
double[] |
getScale()
Get the scale
|
double[][] |
toReference(double[][] latlonalt)
Transform latitude/longitude/altitude value to XYZ
|
float[][] |
toReference(float[][] latlonalt)
Transform latitude/longitude/altitude value to XYZ
|
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits
public MapProjection3DAdapter(visad.georef.MapProjection mapProjection) throws visad.VisADException
mapProjection
- CoordinateSystem that transforms from xy
in the data space to lat/lon.visad.VisADException
- can't create the necessary VisAD objectpublic double[][] toReference(double[][] latlonalt) throws visad.VisADException
toReference
in class visad.CoordinateSystem
latlonalt
- array of latitude, longitude, altitude valuesvisad.VisADException
- can't create the necessary VisAD objectpublic float[][] toReference(float[][] latlonalt) throws visad.VisADException
toReference
in class visad.CoordinateSystem
latlonalt
- array of latitude, longitude, altitude valuesvisad.VisADException
- can't create the necessary VisAD objectpublic double[][] fromReference(double[][] xyz) throws visad.VisADException
fromReference
in class visad.CoordinateSystem
xyz
- array of Display.DisplaySpatialCartesianTuple XYZ valuesvisad.VisADException
- can't create the necessary VisAD objectpublic float[][] fromReference(float[][] xyz) throws visad.VisADException
fromReference
in class visad.CoordinateSystem
xyz
- array of Display.DisplaySpatialCartesianTuple XYZ valuesvisad.VisADException
- can't create the necessary VisAD objectpublic boolean equals(java.lang.Object obj)
equals
in class visad.CoordinateSystem
obj
- object in question.public visad.georef.MapProjection getMapProjection()
public double[] getScale()
getScale
in interface visad.InverseLinearScaledCS
public double[] getOffset()
getOffset
in interface visad.InverseLinearScaledCS
public visad.CoordinateSystem getInvertedCoordinateSystem()
getInvertedCoordinateSystem
in interface visad.InverseLinearScaledCS