public class DisplayRealType extends RealType
Altitude, Declination, Generic, INTERVAL, Latitude, Longitude, Radius, RightAscension, Time, TimeInterval, XAxis, YAxis, ZAxis| Constructor and Description |
|---|
DisplayRealType(String name,
boolean single,
double low,
double hi,
double def,
Unit unit)
construct a DisplayRealType
|
DisplayRealType(String name,
boolean single,
double def,
Unit unit)
construct a DisplayRealType whose values are not scaled
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCircular() |
double |
getDefaultValue() |
boolean |
getRange(double[] range_values)
get the range of values is defined for this
|
boolean |
getText() |
DisplayTupleType |
getTuple() |
int |
getTupleIndex() |
boolean |
isSingle() |
void |
setTuple(DisplayTupleType t,
int i,
boolean c)
Sets the DisplayTupleType to which this DisplayRealType will belong.
|
binary, buildShadowType, cloneDerivative, equals, equalsExceptName, equalsExceptNameButUnits, getAttributeMask, getDefaultSet, getDefaultUnit, getRealType, getRealType, getRealType, getRealType, getRealType, getRealType, getRealTypeByName, isInterval, main, missingData, prettyString, setDefaultSet, unaryalias, compareTo, getAlias, getName, getNameWithBlanks, getOriginalName, getScalarTypeByName, hashCode, readResolve, validateNameaddTimeAlias, findScalarType, guessMaps, prettyString, stringToType, toStringpublic DisplayRealType(String name, boolean single, double low, double hi, double def, Unit unit) throws VisADException
name - String name for this DisplayRealTypesingle - if true, this may occur at most once at a terminal
node in the ShadowType tree; see
Appendix A of the Developer's Guidelow - start of range of values for scalinghi - end of range of values for scalingdef - default valueunit - Unit for this DisplayRealTypeVisADException - a VisAD error occurredpublic DisplayRealType(String name, boolean single, double def, Unit unit) throws VisADException
name - String name for this DisplayRealTypesingle - if true, this may occur at most once at a terminal
node in the ShadowType tree; see
Appendix A of the Developer's Guidedef - default valueunit - Unit for this DisplayRealTypeVisADException - a VisAD error occurredpublic DisplayTupleType getTuple()
public int getTupleIndex()
public void setTuple(DisplayTupleType t, int i, boolean c) throws VisADException
t - The DisplayTupleType of which this DisplayRealType
will be a component.i - The 0-based index for this as a component of t.c - Flag indicating whether t has a CoordinateSystem whose
toReference() is periodic in this with period 2*pi
(or equivalent according to unit).VisADException - a VisAD error occurred.public boolean isSingle()
public double getDefaultValue()
public boolean getRange(double[] range_values)
range_values - double[2] array used to return low
and hi values of the range (if this
DisplayRealType has a range)public boolean getText()
public boolean getCircular()
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.