protected static class ImageInterpolator.Cell extends Object implements Cacheable
Modifier and Type | Field and Description |
---|---|
protected ImageInterpolator.Cell[] |
children |
protected int |
m0 |
protected int |
m1 |
protected float |
maxx |
protected float |
maxy |
protected float |
minx |
protected float |
miny |
protected int |
n0 |
protected int |
n1 |
Constructor and Description |
---|
Cell(int m0,
int m1,
int n0,
int n1) |
Modifier and Type | Method and Description |
---|---|
void |
build(int numLevels,
int cellSize) |
void |
computeBounds(Dimension dim,
float[] xs,
float[] ys) |
protected void |
computeExtremesFromChildren() |
protected void |
computeExtremesFromLocations(Dimension dim,
float[] xs,
float[] ys) |
long |
getSizeInBytes()
Retrieves the approximate size of this object in bytes.
|
boolean |
intersects(float x,
float y) |
protected ImageInterpolator.Cell |
makeChildCell(int m0,
int m1,
int n0,
int n1) |
ImageInterpolator.Cell[] |
split(int mm0,
int mm1,
int nn0,
int nn1) |
protected ImageInterpolator.Cell[] children
protected final int m0
protected final int m1
protected float maxx
protected float maxy
protected float minx
protected float miny
protected final int n0
protected final int n1
public void build(int numLevels, int cellSize)
public void computeBounds(Dimension dim, float[] xs, float[] ys)
protected void computeExtremesFromChildren()
protected void computeExtremesFromLocations(Dimension dim, float[] xs, float[] ys)
public long getSizeInBytes()
Cacheable
getSizeInBytes
in interface Cacheable
Cacheable
object's size in bytespublic boolean intersects(float x, float y)
protected ImageInterpolator.Cell makeChildCell(int m0, int m1, int n0, int n1)
public ImageInterpolator.Cell[] split(int mm0, int mm1, int nn0, int nn1)