|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.CoordinateSystem
ucar.unidata.view.geoloc.MapProjectionDisplay.MapProjection3DAdapter
protected static class MapProjectionDisplay.MapProjection3DAdapter
An adapter for visad.georef.MapProjection coordinate systems (ie: ones with * a reference of Lat/Lon). Allows for the conversion from lat/lon to Display.DisplaySpatialCartesianTuple (XYZ). Altitude (z) values are held constant.
| Constructor Summary | |
|---|---|
MapProjectionDisplay.MapProjection3DAdapter(MapProjection mapProjection)
Construct a new CoordinateSystem which uses a MapProjection for the transformations between x,y and lat/lon. |
|
| Method Summary | |
|---|---|
boolean |
equals(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 |
MapProjection |
getMapProjection()
Return the MapProjection being used by the CoordinateSystem. |
double[][] |
toReference(double[][] latlonalt)
Transform latitude/longitude/altitude value to XYZ |
float[][] |
toReference(float[][] latlonalt)
Transform latitude/longitude/altitude value to XYZ |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapProjectionDisplay.MapProjection3DAdapter(MapProjection mapProjection)
throws VisADException
mapProjection - CoordinateSystem that transforms from xy
in the data space to lat/lon.
VisADException - can't create the necessary VisAD object| Method Detail |
|---|
public double[][] toReference(double[][] latlonalt)
throws VisADException
toReference in class CoordinateSystemlatlonalt - array of latitude, longitude, altitude values
VisADException - can't create the necessary VisAD object
public float[][] toReference(float[][] latlonalt)
throws VisADException
toReference in class CoordinateSystemlatlonalt - array of latitude, longitude, altitude values
VisADException - can't create the necessary VisAD object
public double[][] fromReference(double[][] xyz)
throws VisADException
fromReference in class CoordinateSystemxyz - array of Display.DisplaySpatialCartesianTuple XYZ values
VisADException - can't create the necessary VisAD object
public float[][] fromReference(float[][] xyz)
throws VisADException
fromReference in class CoordinateSystemxyz - array of Display.DisplaySpatialCartesianTuple XYZ values
VisADException - can't create the necessary VisAD objectpublic boolean equals(Object obj)
equals in class CoordinateSystemobj - object in question.
public MapProjection getMapProjection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||