public interface SetIface extends Data
Sets are subsets of R^n for n>0.
ABS, ACOS, ACOS_DEGREES, ADD, ASIN, ASIN_DEGREES, ATAN, ATAN_DEGREES, ATAN2, ATAN2_DEGREES, CEIL, COS, COS_DEGREES, DEGREES_TO_RADIANS, DEPENDENT, DIVIDE, EXP, FLOOR, INDEPENDENT, INV_ATAN2, INV_ATAN2_DEGREES, INV_DIVIDE, INV_POW, INV_REMAINDER, INV_SUBTRACT, LOG, MAX, MIN, MULTIPLY, NEAREST_NEIGHBOR, NEGATE, NO_ERRORS, NOP, POW, RADIANS_TO_DEGREES, REMAINDER, RINT, ROUND, SIN, SIN_DEGREES, SQRT, SUBTRACT, TAN, TAN_DEGREES, WEIGHTED_AVERAGE
Modifier and Type | Method and Description |
---|---|
Object |
cloneButType(MathType type)
Clones this set -- changing the MathType.
|
void |
cram_missing(boolean[] range_select) |
int[] |
doubleToIndex(double[][] value) |
boolean |
equals(Object set) |
boolean |
equalUnitAndCS(Set set) |
CoordinateSystem |
getCoordinateSystem()
Returns the coordinate system transformation of the set.
|
int |
getDimension()
Returns the rank of the samples in the set.
|
double[][] |
getDoubles()
Returns an enumeration of the samples of the set in index order.
|
double[][] |
getDoubles(boolean copy)
Returns an enumeration of the samples of the set in index order.
|
int |
getLength()
Returns the number of samples in the set.
|
int |
getManifoldDimension()
Returns the rank of the manifold of the set.
|
int[][] |
getNeighbors(int dimension) |
void |
getNeighbors(int[][] neighbors) |
void |
getNeighbors(int[][] neighbors,
float[][] weights) |
float[][] |
getSamples()
Returns an enumeration of the samples of the set in index order.
|
float[][] |
getSamples(boolean copy)
Returns an enumeration of the samples of the set in index order.
|
ErrorEstimate[] |
getSetErrors()
Returns the error estimates of the samples in the set.
|
Unit[] |
getSetUnits()
Returns the units of the samples in the set.
|
int[] |
getWedge()
Returns a zig-zagging enumeration of sample indices with good coherence.
|
double[][] |
indexToDouble(int[] index) |
float[][] |
indexToValue(int[] index)
Returns the samples of the set corresponding to an array of 1-D indices.
|
VisADGeometryArray |
make1DGeometry(byte[][] color_values) |
VisADGeometryArray |
make2DGeometry(byte[][] color_values,
boolean indexed) |
VisADGeometryArray[] |
make3DGeometry(byte[][] color_values) |
VisADGeometryArray[][] |
makeIsoLines(float[] intervals,
float lowlimit,
float highlimit,
float base,
float[] fieldValues,
byte[][] color_values,
boolean[] swap,
boolean dash,
boolean fill,
ScalarMap[] smap,
double[] scale,
double label_size,
boolean sphericalDisplayCS) |
VisADGeometryArray |
makeIsoSurface(float isolevel,
float[] fieldValues,
byte[][] color_values,
boolean indexed) |
VisADGeometryArray |
makePointGeometry(byte[][] color_values) |
Set |
makeSpatial(SetType type,
float[][] values) |
Set |
merge1DSets(Set set) |
int[] |
valueToIndex(float[][] value)
Returns the 1-D indices corresponding to an array of points.
|
abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, adjustSamplingError, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, isMissing, local, log, log, longString, longString, max, max, min, min, multiply, multiply, negate, negate, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unary, unary
addReference, removeReference
Unit[] getSetUnits()
ErrorEstimate[] getSetErrors()
CoordinateSystem getCoordinateSystem()
int getDimension()
int getManifoldDimension()
int getLength() throws VisADException
VisADException
float[][] indexToValue(int[] index) throws VisADException
index
- The array of 1-D indices.index[j]
.VisADException
- VisAD failure.int[] valueToIndex(float[][] value) throws VisADException
value
- An array of points. value[i][j]
is
the i-th coordinate of the j-th point.VisADException
- VisAD failure.Set makeSpatial(SetType type, float[][] values) throws VisADException
VisADException
int[] getWedge()
float[][] getSamples() throws VisADException
getSamples(true)
.VisADException
- VisAD failure.getSamples(boolean copy)
float[][] getSamples(boolean copy) throws VisADException
copy
- Whether or not to make a copy of the samples
of the set.VisADException
- VisAD failure.double[][] getDoubles() throws VisADException
getDoubles(true)
.VisADException
- VisAD failure.getDoubles(boolean copy)
double[][] getDoubles(boolean copy) throws VisADException
copy
- Whether or not to make a copy of the samples
of the set.VisADException
- VisAD failure.void cram_missing(boolean[] range_select)
Set merge1DSets(Set set) throws VisADException
VisADException
VisADGeometryArray make1DGeometry(byte[][] color_values) throws VisADException
VisADException
VisADGeometryArray make2DGeometry(byte[][] color_values, boolean indexed) throws VisADException
VisADException
VisADGeometryArray[] make3DGeometry(byte[][] color_values) throws VisADException
VisADException
VisADGeometryArray makePointGeometry(byte[][] color_values) throws VisADException
VisADException
VisADGeometryArray[][] makeIsoLines(float[] intervals, float lowlimit, float highlimit, float base, float[] fieldValues, byte[][] color_values, boolean[] swap, boolean dash, boolean fill, ScalarMap[] smap, double[] scale, double label_size, boolean sphericalDisplayCS) throws VisADException
VisADException
VisADGeometryArray makeIsoSurface(float isolevel, float[] fieldValues, byte[][] color_values, boolean indexed) throws VisADException
VisADException
double[][] indexToDouble(int[] index) throws VisADException
VisADException
int[] doubleToIndex(double[][] value) throws VisADException
VisADException
void getNeighbors(int[][] neighbors) throws VisADException
VisADException
void getNeighbors(int[][] neighbors, float[][] weights) throws VisADException
VisADException
int[][] getNeighbors(int dimension) throws VisADException
VisADException
boolean equalUnitAndCS(Set set)
Object cloneButType(MathType type) throws VisADException
type
- The MathType for the clone.VisADException
- VisAD failure.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.