visad
Interface GriddedDoubleSet

All Superinterfaces:
Data, GriddedSetIface, SampledSetIface, SetIface, SimpleSetIface, Thing
All Known Implementing Classes:
Gridded1DDoubleSet, Gridded2DDoubleSet, Gridded3DDoubleSet, Integer1DSet, Linear1DSet

public interface GriddedDoubleSet
extends GriddedSetIface

GriddedDoubleSet is an interface for GriddedSets that have double-precision samples rather than single-precision samples.


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
 double[][] doubleToGrid(double[][] value)
           
 int[] doubleToIndex(double[][] value)
           
 void doubleToInterp(double[][] value, int[][] indices, double[][] weights)
           
 double[][] getDoubles(boolean copy)
          Returns an enumeration of the samples of the set in index order.
 double[][] gridToDouble(double[][] grid)
           
 double[][] indexToDouble(int[] index)
           
 
Methods inherited from interface visad.GriddedSetIface
getLength, getLengths, gridToValue, valueToGrid
 
Methods inherited from interface visad.SampledSetIface
getHi, getLow
 
Methods inherited from interface visad.SimpleSetIface
valueToInterp
 
Methods inherited from interface visad.SetIface
cloneButType, cram_missing, equals, equalUnitAndCS, getCoordinateSystem, getDimension, getDoubles, getLength, getManifoldDimension, getNeighbors, getNeighbors, getNeighbors, getSamples, getSamples, getSetErrors, getSetUnits, getWedge, 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

getDoubles

double[][] getDoubles(boolean copy)
                      throws VisADException
Description copied from interface: SetIface
Returns an enumeration of the samples of the set in index order.

Specified by:
getDoubles in interface SetIface
Parameters:
copy - Whether or not to make a copy of the samples of the set.
Returns:
An enumeration of the samples of the set. Element [i][j] is the i-th coordinate of the j-th sample.
Throws:
VisADException - VisAD failure.

indexToDouble

double[][] indexToDouble(int[] index)
                         throws VisADException
Specified by:
indexToDouble in interface SetIface
Throws:
VisADException

doubleToIndex

int[] doubleToIndex(double[][] value)
                    throws VisADException
Specified by:
doubleToIndex in interface SetIface
Throws:
VisADException

gridToDouble

double[][] gridToDouble(double[][] grid)
                        throws VisADException
Throws:
VisADException

doubleToGrid

double[][] doubleToGrid(double[][] value)
                        throws VisADException
Throws:
VisADException

doubleToInterp

void doubleToInterp(double[][] value,
                    int[][] indices,
                    double[][] weights)
                    throws VisADException
Throws:
VisADException