public class RealTupleType extends TupleType
Modifier and Type | Field and Description |
---|---|
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)
|
Constructor and Description |
---|
RealTupleType(RealType a)
construct a RealTupleType with one component
|
RealTupleType(RealType[] types)
array of component types;
default CoordinateSystem and Set are null
|
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
|
Modifier and Type | Method and Description |
---|---|
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)
this is useful for determining compatibility of
Data objects for binary mathematical operations;
any RealTypes are equal; any TextTypes are equal;
TupleTypes are equal if their components are equal;
FunctionTypes are equal if their domains and ranges
are equal
|
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()
returns a missing Data object for any MathType
|
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) |
__getitem__, __len__, cloneDerivative, equals, getComponent, getComponents, getDimension, getFlat, getIndex, getIndex, getNumberOfRealComponents, getRealComponents, hashCode
addTimeAlias, findScalarType, guessMaps, main, prettyString, stringToType, toString
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
public RealTupleType(RealType[] types) throws VisADException
VisADException
public RealTupleType(RealType a) throws VisADException
VisADException
public RealTupleType(RealType a, RealType b) throws VisADException
VisADException
public RealTupleType(RealType a, RealType b, RealType c) throws VisADException
VisADException
public RealTupleType(RealType a, RealType b, RealType c, RealType d) throws VisADException
VisADException
public RealTupleType(RealType[] types, CoordinateSystem coord_sys, Set set) throws VisADException
VisADException
public RealTupleType(RealType a, CoordinateSystem coord_sys, Set set) throws VisADException
VisADException
public RealTupleType(RealType a, RealType b, CoordinateSystem coord_sys, Set set) throws VisADException
VisADException
public RealTupleType(RealType a, RealType b, RealType c, CoordinateSystem coord_sys, Set set) throws VisADException
VisADException
public RealTupleType(RealType a, RealType b, RealType c, RealType d, CoordinateSystem coord_sys, Set set) throws VisADException
VisADException
public MathType binary(MathType type, int op, Vector names) throws TypeException, VisADException
binary
in class TupleType
type
- The other MathType.op
- The arithmetic operation (see
Data
).names
- Database of names.TypeException
- type
is null or
can't be arithmetically combined with a
RealTupleType.VisADException
- Couldn't create necessary VisAD object.Data
public MathType unary(int op, Vector names) throws VisADException
unary
in class TupleType
VisADException
public Unit[] getDefaultUnits()
public CoordinateSystem getCoordinateSystem()
public void setDefaultSet(Set sampling) throws VisADException
VisADException
public Set getDefaultSet()
public boolean equalsExceptName(MathType type)
MathType
equalsExceptName
in class TupleType
public boolean equalsExceptNameButUnits(MathType type)
equalsExceptNameButUnits
in class TupleType
public String prettyString(int indent)
prettyString
in class TupleType
public Data missingData()
MathType
missingData
in class TupleType
public ShadowType buildShadowType(DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
buildShadowType
in class TupleType
VisADException
RemoteException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.