|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--visad.MathType
|
+--visad.TupleType
|
+--visad.RealTupleType
RealTupleType is the VisAD data type for tuples in R^n, for n>0.
| Field Summary | |
static RealTupleType |
Generic2D
System intrinsic for (RealType.Generic, RealType.Generic) |
static RealTupleType |
Generic3D
System intrinsic for (RealType.Generic, RealType.Generic, RealType.Generic) |
static RealTupleType |
LatitudeLongitudeAltitude
System intrinsic for (RealType.Latitude, RealType.Longitude, RealType.Altitude) |
static RealTupleType |
LatitudeLongitudeTuple
System intrinsic for (RealType.Latitude, RealType.Longitude) |
static RealTupleType |
SpatialCartesian2DTuple
System intrinsic RealTupleType for (RealType.XAxis, RealType.YAxis) |
static RealTupleType |
SpatialCartesian3DTuple
System intrinsic for (RealType.XAxis, RealType.YAxis, RealType.ZAxis) |
static RealTupleType |
SpatialEarth2DTuple
System intrinsic for (RealType.Longitude, RealType.Latitude) |
static RealTupleType |
SpatialEarth3DTuple
System intrinsic for (RealType.Longitude, RealType.Latitude, RealType.Altitude) |
static RealTupleType |
Time1DTuple
System intrinsic for (RealType.Time) |
| Fields inherited from class visad.MathType |
SystemIntrinsic |
| Constructor Summary | |
|
RealTupleType(RealType a)
construct a RealTupleType with one component |
|
RealTupleType(RealType[] types)
array of component types; default CoordinateSystem and Set are null |
(package private) |
RealTupleType(RealType[] types,
boolean b)
trusted constructor for initializers |
(package private) |
RealTupleType(RealType[] types,
CoordinateSystem coord_sys,
boolean b)
trusted constructor for initializers |
|
RealTupleType(RealType[] types,
CoordinateSystem coord_sys,
Set set)
array of component types; default CoordinateSystem for values of this type (including Function domains) and may be null; default Set used when this type is a FunctionType domain and may be null |
|
RealTupleType(RealType a,
CoordinateSystem coord_sys,
Set set)
construct a RealTupleType with one component |
|
RealTupleType(RealType a,
RealType b)
construct a RealTupleType with two components |
|
RealTupleType(RealType a,
RealType b,
CoordinateSystem coord_sys,
Set set)
construct a RealTupleType with two components |
|
RealTupleType(RealType a,
RealType b,
RealType c)
construct a RealTupleType with three components |
|
RealTupleType(RealType a,
RealType b,
RealType c,
CoordinateSystem coord_sys,
Set set)
construct a RealTupleType with three components |
|
RealTupleType(RealType a,
RealType b,
RealType c,
RealType d)
construct a RealTupleType with four components |
|
RealTupleType(RealType a,
RealType b,
RealType c,
RealType d,
CoordinateSystem coord_sys,
Set set)
construct a RealTupleType with four components |
| Method Summary | |
MathType |
binary(MathType type,
int op,
Vector names)
Performs an arithmetic operation with another MathType. |
ShadowType |
buildShadowType(DataDisplayLink link,
ShadowType parent)
|
boolean |
equalsExceptName(MathType type)
|
boolean |
equalsExceptNameButUnits(MathType type)
|
CoordinateSystem |
getCoordinateSystem()
get default CoordinateSystem |
Set |
getDefaultSet()
get default Set |
Unit[] |
getDefaultUnits()
get default Units of RealType components; copy DefaultUnits array to ensure that it cannot be altered |
static RealType[] |
makeArray(RealType a)
|
static RealType[] |
makeArray(RealType a,
RealType b)
|
static RealType[] |
makeArray(RealType a,
RealType b,
RealType c)
|
static RealType[] |
makeArray(RealType a,
RealType b,
RealType c,
RealType d)
|
Data |
missingData()
|
String |
prettyString(int indent)
|
void |
setDefaultSet(Set sampling)
set the default sampling; this is an unavoidable violation of MathType immutability - a RealTupleType must be an argument (directly or through a SetType) to the constructor of its default Set; this method throws an Exception if getDefaultSet has previously been invoked |
MathType |
unary(int op,
Vector names)
|
| Methods inherited from class visad.TupleType |
__getitem__,
__len__,
cloneDerivative,
equals,
getComponent,
getComponents,
getDimension,
getFlat,
getIndex,
getIndex,
getNumberOfRealComponents,
getRealComponents,
hashCode |
| Methods inherited from class visad.MathType |
addTimeAlias,
findScalarType,
guessMaps,
main,
prettyString,
stringToType,
toString |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final RealTupleType SpatialCartesian2DTuple
public static final RealTupleType SpatialCartesian3DTuple
public static final RealTupleType SpatialEarth2DTuple
public static final RealTupleType LatitudeLongitudeTuple
public static final RealTupleType SpatialEarth3DTuple
public static final RealTupleType LatitudeLongitudeAltitude
public static final RealTupleType Time1DTuple
public static final RealTupleType Generic2D
public static final RealTupleType Generic3D
| Constructor Detail |
public RealTupleType(RealType[] types)
throws VisADException
public RealTupleType(RealType a)
throws VisADException
public RealTupleType(RealType a,
RealType b)
throws VisADException
public RealTupleType(RealType a,
RealType b,
RealType c)
throws VisADException
public RealTupleType(RealType a,
RealType b,
RealType c,
RealType d)
throws VisADException
public RealTupleType(RealType[] types,
CoordinateSystem coord_sys,
Set set)
throws VisADException
public RealTupleType(RealType a,
CoordinateSystem coord_sys,
Set set)
throws VisADException
public RealTupleType(RealType a,
RealType b,
CoordinateSystem coord_sys,
Set set)
throws VisADException
public RealTupleType(RealType a,
RealType b,
RealType c,
CoordinateSystem coord_sys,
Set set)
throws VisADException
public RealTupleType(RealType a,
RealType b,
RealType c,
RealType d,
CoordinateSystem coord_sys,
Set set)
throws VisADException
RealTupleType(RealType[] types,
boolean b)
RealTupleType(RealType[] types,
CoordinateSystem coord_sys,
boolean b)
| Method Detail |
public MathType binary(MathType type,
int op,
Vector names)
throws TypeException,
VisADException
type - The other MathType.op - The arithmetic operation (see
Data).names - Database of names.type is null or
can't be arithmetically combined with a
RealTupleType.Data
public MathType unary(int op,
Vector names)
throws VisADException
public static RealType[] makeArray(RealType a)
public static RealType[] makeArray(RealType a,
RealType b)
public static RealType[] makeArray(RealType a,
RealType b,
RealType c)
public static RealType[] makeArray(RealType a,
RealType b,
RealType c,
RealType d)
public Unit[] getDefaultUnits()
public CoordinateSystem getCoordinateSystem()
public void setDefaultSet(Set sampling)
throws VisADException
public Set getDefaultSet()
public boolean equalsExceptName(MathType type)
public boolean equalsExceptNameButUnits(MathType type)
public String prettyString(int indent)
public Data missingData()
public ShadowType buildShadowType(DataDisplayLink link,
ShadowType parent)
throws VisADException,
RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||