public class Subsample2D extends ScalarField2D.Default
ScalarField2D.Default, ScalarField2D.Empty, ScalarField2D.Test| Constructor and Description |
|---|
Subsample2D(ScalarField2D field,
int step)
Instantiates a new subsample 2 D.
|
Subsample2D(ScalarField2D field,
int step_x,
int step_y)
Instantiates a new subsample 2 D.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
float |
getValue(int x,
int y)
Gets the value.
|
int |
getWidth() |
getCoordinate, getNeighbors, getSize, getValue, isValid, toPImagegetValueRangeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValueRangepublic Subsample2D(ScalarField2D field, int step)
field - the fieldstep - the steppublic Subsample2D(ScalarField2D field, int step_x, int step_y)
field - the fieldstep_x - the step xstep_y - the step ypublic int getWidth()
public int getHeight()
public float getValue(int x,
int y)
ScalarField2Dx - the xy - the y