Package ucar.visad

Class TupleQuantity

java.lang.Object
ucar.visad.Quantity
ucar.visad.TupleQuantity

public abstract class TupleQuantity extends Quantity
Provides support for tuple quantities. This class uses the decorator design pattern to add convenience methods to its superclass and to form the root of a hierarchy of classes that serve to encapsulate knowledge about scientific quantities that either have multiple components or a reference coordinate system.
Version:
$Revision: 1.16 $ $Date: 2005/05/13 18:34:05 $
Author:
Steven R. Emmerson
  • Constructor Details

  • Method Details

    • getRealTypes

      protected static RealType[] getRealTypes(ScalarQuantity[] scalars)
      Returns an array of VisAD RealTypes corresponding to an array of scalar quantitities.
      Parameters:
      scalars - An array of the scalar quantities.
      Returns:
      A corresponding aray of VisAD RealTypes