public class SmoothData3D extends ColorSurfaceData
Constructor and Description |
---|
SmoothData3D(int nX,
int nY)
The data set constructor with size of the grid.
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(double x,
double y,
double value)
Bins value into the 2D array for x and y with weight = value.
|
double |
getValue(double x,
double y)
Returns the interpolated value of the 2D array for x and y.
|
static void |
main(java.lang.String[] args)
The test method of this class.
|
addValue, calcMaxMinZ, getColor, getColorGenerator, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getScreenSizeX, getScreenSizeY, getSizeX, getSizeY, getValue, getX, getY, multiplyBy, setColorGenerator, setMinMaxX, setMinMaxY, setScreenResolution, setSize, setValue, setZero
public SmoothData3D(int nX, int nY)
public double getValue(double x, double y)
getValue
in class ColorSurfaceData
public void addValue(double x, double y, double value)
addValue
in class ColorSurfaceData
public static void main(java.lang.String[] args)