public class Subset2D extends ScalarField2D.Default
ScalarField2D.Default, ScalarField2D.Empty, ScalarField2D.Test| Constructor and Description |
|---|
Subset2D(ScalarField2D src,
int[] x_range,
int[] y_range)
Instantiates a new subset 2 D.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getCoordinate(int x,
int y) |
int |
getHeight() |
float |
getValue(int x,
int y)
Gets the value.
|
int |
getWidth() |
getNeighbors, getSize, getValue, isValid, toPImagegetValueRangeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValueRangepublic Subset2D(ScalarField2D src, int[] x_range, int[] y_range)
src - the srcx_range - the x rangey_range - the y rangepublic int getWidth()
public int getHeight()
public float getValue(int x,
int y)
ScalarField2Dx - the xy - the ypublic double[] getCoordinate(int x,
int y)
getCoordinate in interface ScalarField2DgetCoordinate in class ScalarField2D.Default