|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.CoordinateSystem
ucar.visad.quantities.AirPressure.AirPressureCoordinateSystem
public static class AirPressure.AirPressureCoordinateSystem
Provides support for a Pressure <-> Altitude coordinate system transformation.
| Constructor Summary | |
|---|---|
AirPressure.AirPressureCoordinateSystem(Gridded1DSet pressure,
Gridded1DSet altitude)
Constructs from a set of Pressure-s and a set of Altitude-s. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Indicates if this instance is semantically idential to another object. |
double[][] |
fromReference(double[][] altitudes)
Converts to pressures from altitudes. |
float[][] |
fromReference(float[][] altitudes)
Converts to pressures from altitudes. |
double[][] |
toReference(double[][] pressures)
Converts from pressures to altitudes. |
float[][] |
toReference(float[][] pressures)
Converts from pressures to altitudes. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AirPressure.AirPressureCoordinateSystem(Gridded1DSet pressure,
Gridded1DSet altitude)
throws VisADException,
RemoteException
pressure - A set of Pressure-s.altitude - A set of Altitude-s.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
public double[][] toReference(double[][] pressures)
throws VisADException
toReference in class CoordinateSystempressures - The pressures to be converted in units of
getCoordinateSystemUnits()[0]. Only
pressures[0] is used. It may be overwritten.
VisADException - VisAD failure.
public double[][] fromReference(double[][] altitudes)
throws VisADException
fromReference in class CoordinateSystemaltitudes - The altitudes to be converted in units of
getReferenceUnits()[0]. Only altitudes[0] is
used. It may be overwritten.
VisADException - VisAD failure.
public float[][] toReference(float[][] pressures)
throws VisADException
toReference in class CoordinateSystempressures - The pressures to be converted in units of
getCoordinateSystemUnits()[0]. Only
pressures[0] is used. It may be overwritten.
VisADException - VisAD failure.
public float[][] fromReference(float[][] altitudes)
throws VisADException
fromReference in class CoordinateSystemaltitudes - The altitudes to be converted in units of
getReferenceUnits()[0]. Only altitudes[0] is
used. It may be overwritten.
VisADException - VisAD failure.public boolean equals(Object obj)
equals in class CoordinateSystemobj - The other object.
obj.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||