visad
Interface SimpleSetIface

All Superinterfaces:
Data, SetIface, Thing
All Known Subinterfaces:
Gridded1DSetIface, GriddedDoubleSet, GriddedSetIface, SampledSetIface
All Known Implementing Classes:
DoubleSet, FloatSet, Gridded1DDoubleSet, Gridded1DSet, Gridded2DDoubleSet, Gridded2DSet, Gridded3DDoubleSet, Gridded3DSet, GriddedSet, Integer1DSet, Integer2DSet, Integer3DSet, IntegerNDSet, Irregular1DSet, Irregular2DSet, Irregular3DSet, IrregularSet, Linear1DSet, Linear2DSet, Linear3DSet, LinearLatLonSet, LinearNDSet, List1DDoubleSet, List1DSet, ProductSet, SampledSet, SimpleSet, SingletonSet, UnionSet

public interface SimpleSetIface
extends SetIface

Interface to the abstract superclass of Sets with a unique ManifoldDimension.


Field Summary
 
Fields inherited from interface visad.Data
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
 
Method Summary
 void valueToInterp(float[][] values, int[][] indices, float[][] weights)
          Returns the interpolation parameters for an array of points.
 
Methods inherited from interface visad.SetIface
cloneButType, cram_missing, doubleToIndex, equals, equalUnitAndCS, getCoordinateSystem, getDimension, getDoubles, getDoubles, getLength, getManifoldDimension, getNeighbors, getNeighbors, getNeighbors, getSamples, getSamples, getSetErrors, getSetUnits, getWedge, indexToDouble, indexToValue, make1DGeometry, make2DGeometry, make3DGeometry, makeIsoLines, makeIsoSurface, makePointGeometry, makeSpatial, merge1DSets, valueToIndex
 
Methods inherited from interface visad.Data
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
 
Methods inherited from interface visad.Thing
addReference, removeReference
 

Method Detail

valueToInterp

void valueToInterp(float[][] values,
                   int[][] indices,
                   float[][] weights)
                   throws VisADException
Returns the interpolation parameters for an array of points.

Parameters:
values - An array of points. value[i][j] is the i-th coordinate of the j-th points.
indices - Indices of the neighboring samples in the set. If the j-th points lies within the set, then returned element [i][j] is the index of the i-th neighboring sample in the set; otherwise, returned array [j] is null.
weights - Weights for interpolating the neighboring samples in the set. If the j-th points lies within the set, then returned element [i][j] is the weight of the i-th neighboring sample in the set; otherwise, returned array [j] is null.
Throws:
VisADException - VisAD failure.