Class Density

Direct Known Subclasses:
AirDensity

public class Density extends ScalarQuantity
Provides support for the quantity of density.
Version:
$Id: Density.java,v 1.9 2005/05/13 18:35:38 jeffmc Exp $
Author:
Steven R. Emmerson
  • Constructor Details

    • Density

      protected Density(String name) throws UnitException, VisADException
      Constructs from a name.
      Parameters:
      name - The name of the quantity.
      Throws:
      UnitException - Unit conversion failure.
      VisADException - Couldn't create necessary VisAD object.
    • Density

      protected Density(String name, Unit unit) throws VisADException
      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

      public static RealType getRealType() throws VisADException
      Obtains the RealType associated with this class.
      Returns:
      The RealType associated with this class.
      Throws:
      VisADException - Couldn't perform necessary VisAD operation.
    • getRealTupleType

      public static RealTupleType getRealTupleType() throws VisADException
      Obtains the RealTupleType associated with this class.
      Returns:
      The RealTupleType associated with this class.
      Throws:
      VisADException - Couldn't perform necessary VisAD operation.