Package ucar.visad.quantities
Class VectorQuantity
java.lang.Object
ucar.visad.quantities.Quantity
ucar.visad.quantities.VectorQuantity
- Direct Known Subclasses:
Wind
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 Summary
ConstructorsModifierConstructorDescriptionprotectedVectorQuantity(RealTupleType realTupleType) Constructs from an existing VisADRealTupleType.protectedVectorQuantity(RealType[] realTypes) Constructs from an array of VisADRealTypes.protectedVectorQuantity(RealType[] realTypes, CoordinateSystem coordinateSystem) Constructs from an array of VisADRealTypes and a default coordinate system transformation.protectedVectorQuantity(RealType[] realTypes, CoordinateSystem coordinateSystem, Set set) Constructs from an array of VisADRealTypes, a default coordinate system transformation, and a default sampling set. -
Method Summary
Modifier and TypeMethodDescriptionprotected final EarthVectorTypeReturns the associatedRealTupleType.Methods inherited from class ucar.visad.quantities.Quantity
realTupleType, setRealTupleType
-
Constructor Details
-
VectorQuantity
Constructs from an array of VisADRealTypes.- Parameters:
realTypes- The array ofRealTypes.- Throws:
VisADException- if a core VisAD failure occurs.
-
VectorQuantity
protected VectorQuantity(RealType[] realTypes, CoordinateSystem coordinateSystem) throws VisADException Constructs from an array of VisADRealTypes and a default coordinate system transformation.- Parameters:
realTypes- The array ofRealTypes.coordinateSystem- The default CoordinateSystem of this quantity. May benull.- Throws:
VisADException- if a core VisAD failure occurs.
-
VectorQuantity
protected VectorQuantity(RealType[] realTypes, CoordinateSystem coordinateSystem, Set set) throws VisADException Constructs from an array of VisADRealTypes, a default coordinate system transformation, and a default sampling set.- Parameters:
realTypes- The array ofRealTypes.coordinateSystem- The default CoordinateSystem of this quantity. May benull.set- The default domain set of this quantity. May benull.- Throws:
VisADException- if a core VisAD failure occurs.
-
VectorQuantity
Constructs from an existing VisADRealTupleType.- Parameters:
realTupleType- An existingRealTupleType.
-
-
Method Details
-
earthVectorType
Returns the associatedRealTupleType.- Returns:
- The associated
RealTupleType. - Throws:
VisADException- if a core VisAD failure occurs.
-