NASA World Wind

gov.nasa.worldwind.util
Class ImageInterpolator

java.lang.Object
  extended by gov.nasa.worldwind.util.ImageInterpolator

public class ImageInterpolator
extends Object

Provides searching and interpolation of a grid of scalars.


Nested Class Summary
static class ImageInterpolator.ContainingCell
           
 
Constructor Summary
ImageInterpolator(Dimension gridSize, float[] xs, float[] ys, int depth, int cellSize)
           
 
Method Summary
 ImageInterpolator.ContainingCell findContainingCell(float x, float y)
           
 int index(int i, int j)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageInterpolator

public ImageInterpolator(Dimension gridSize,
                         float[] xs,
                         float[] ys,
                         int depth,
                         int cellSize)
Method Detail

findContainingCell

public ImageInterpolator.ContainingCell findContainingCell(float x,
                                                           float y)

index

public int index(int i,
                 int j)

NASA World Wind