Package ucar.visad.quantities
Class Temperature
java.lang.Object
ucar.visad.quantities.Quantity
ucar.visad.quantities.ScalarQuantity
ucar.visad.quantities.Temperature
- Direct Known Subclasses:
AirTemperature
Provides support for the quantity of temperature.
- Version:
- $Id: Temperature.java,v 1.8 2005/05/13 18:35:45 jeffmc Exp $
- Author:
- Steven R. Emmerson
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructs from nothing.protected
Temperature
(String name) Constructs from a name.protected
Temperature
(String name, Unit unit) Constructs from a name and a unit. -
Method Summary
Modifier and TypeMethodDescriptionstatic RealTupleType
Obtains the RealTupleType associated with this class.static RealType
Obtains the RealType associated with this class.Methods inherited from class ucar.visad.quantities.ScalarQuantity
getRealType, getRealType, realType
Methods inherited from class ucar.visad.quantities.Quantity
realTupleType, setRealTupleType
-
Constructor Details
-
Temperature
Constructs from nothing.- Throws:
VisADException
- Couldn't create necessary VisAD object.
-
Temperature
Constructs from a name.- Parameters:
name
- The name of the quantity.- Throws:
VisADException
- Couldn't create necessary VisAD object.
-
Temperature
Constructs from a name and a unit. This is the most general constructor.- Parameters:
name
- The name of the quantity.unit
- The default unit of the quantity.- Throws:
VisADException
- Couldn't create necessary VisAD object.
-
-
Method Details
-
getRealType
Obtains the RealType associated with this class.- Returns:
- The RealType associated with this class.
- Throws:
VisADException
- Couldn't perform necessary VisAD operation.
-
getRealTupleType
Obtains the RealTupleType associated with this class.- Returns:
- The RealTupleType associated with this class.
- Throws:
VisADException
- Couldn't perform necessary VisAD operation.
-