Package ucar.visad.quantities
Class Gravity
java.lang.Object
ucar.visad.quantities.Quantity
ucar.visad.quantities.ScalarQuantity
ucar.visad.quantities.Acceleration
ucar.visad.quantities.Gravity
Provides support for the quantity of gravity.
- Version:
- $Id: Gravity.java,v 1.9 2005/05/13 18:35:40 jeffmc Exp $
- Author:
- Steven R. Emmerson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RealTupleType
Obtains the RealTupleType associated with this class.static RealType
Obtains the RealType associated with this class.static Real
newReal()
Creates a Real corresponding to the standard acceleration of gravity.Methods inherited from class ucar.visad.quantities.ScalarQuantity
getRealType, getRealType, realType
Methods inherited from class ucar.visad.quantities.Quantity
realTupleType, setRealTupleType
-
Constructor Details
-
Gravity
Constructs from a name.- Parameters:
name
- The name for this quantity.- Throws:
VisADException
- if a core VisAD failure occurs.
-
-
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.
-
newReal
Creates a Real corresponding to the standard acceleration of gravity.- Returns:
- A Real corresponding to standard gravity.
- Throws:
VisADException
- Couldn't create necessary VisAD object.
-