Class VectorQuantity

java.lang.Object
ucar.visad.quantities.Quantity
ucar.visad.quantities.VectorQuantity
Direct Known Subclasses:
Wind

public abstract class VectorQuantity extends Quantity
Provides support for vector quantities. A vector quantity has at least one component (and usually at least two components) and may have associated with it a default CoordinateSystem and default domain set.
Version:
$Id: VectorQuantity.java,v 1.12 2006/08/09 22:04:54 dmurray Exp $
Author:
Steven R. Emmerson
  • Constructor Details

    • VectorQuantity

      protected VectorQuantity(RealType[] realTypes) throws VisADException
      Constructs from an array of VisAD RealTypes.
      Parameters:
      realTypes - The array of RealTypes.
      Throws:
      VisADException - if a core VisAD failure occurs.
    • VectorQuantity

      protected VectorQuantity(RealType[] realTypes, CoordinateSystem coordinateSystem) throws VisADException
      Constructs from an array of VisAD RealTypes and a default coordinate system transformation.
      Parameters:
      realTypes - The array of RealTypes.
      coordinateSystem - The default CoordinateSystem of this quantity. May be null.
      Throws:
      VisADException - if a core VisAD failure occurs.
    • VectorQuantity

      protected VectorQuantity(RealType[] realTypes, CoordinateSystem coordinateSystem, Set set) throws VisADException
      Constructs from an array of VisAD RealTypes, a default coordinate system transformation, and a default sampling set.
      Parameters:
      realTypes - The array of RealTypes.
      coordinateSystem - The default CoordinateSystem of this quantity. May be null.
      set - The default domain set of this quantity. May be null.
      Throws:
      VisADException - if a core VisAD failure occurs.
    • VectorQuantity

      protected VectorQuantity(RealTupleType realTupleType)
      Constructs from an existing VisAD RealTupleType.
      Parameters:
      realTupleType - An existing RealTupleType.
  • Method Details