public class ImageInterpolator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ImageInterpolator.Cell |
static class |
ImageInterpolator.ContainingCell |
Modifier and Type | Field and Description |
---|---|
protected int |
cellSize |
protected java.awt.Dimension |
gridSize |
protected BasicMemoryCache |
kidCache |
protected ImageInterpolator.Cell |
root |
protected float[] |
xs |
protected float[] |
ys |
Constructor and Description |
---|
ImageInterpolator(java.awt.Dimension gridSize,
float[] xs,
float[] ys,
int depth,
int cellSize) |
Modifier and Type | Method and Description |
---|---|
protected ImageInterpolator.ContainingCell |
checkContainment(float x,
float y,
ImageInterpolator.Cell cell) |
protected double[] |
computeBilinearCoordinates(float x,
float y,
ImageInterpolator.Cell cell) |
ImageInterpolator.ContainingCell |
findContainingCell(float x,
float y) |
protected ImageInterpolator.ContainingCell |
findContainingCell(ImageInterpolator.Cell cell,
float x,
float y) |
protected int[] |
getFieldIndices(ImageInterpolator.Cell cell) |
protected ImageInterpolator.Cell |
makeRootCell(int m0,
int m1,
int n0,
int n1) |
protected final int cellSize
protected final java.awt.Dimension gridSize
protected final BasicMemoryCache kidCache
protected final ImageInterpolator.Cell root
protected final float[] xs
protected final float[] ys
public ImageInterpolator(java.awt.Dimension gridSize, float[] xs, float[] ys, int depth, int cellSize)
protected ImageInterpolator.ContainingCell checkContainment(float x, float y, ImageInterpolator.Cell cell)
protected double[] computeBilinearCoordinates(float x, float y, ImageInterpolator.Cell cell)
public ImageInterpolator.ContainingCell findContainingCell(float x, float y)
protected ImageInterpolator.ContainingCell findContainingCell(ImageInterpolator.Cell cell, float x, float y)
protected int[] getFieldIndices(ImageInterpolator.Cell cell)
protected ImageInterpolator.Cell makeRootCell(int m0, int m1, int n0, int n1)