public static class ScalarField2D.Empty extends ScalarField2D.Default
ScalarField2D.Default, ScalarField2D.Empty, ScalarField2D.Test| Constructor and Description |
|---|
Empty(int w,
int h,
float default_val)
Instantiates a new empty.
|
Empty(int w,
int h,
float default_val,
boolean verbose)
Instantiates a new empty.
|
| 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 Empty(int w,
int h,
float default_val)
w - the wh - the hdefault_val - the default valpublic Empty(int w,
int h,
float default_val,
boolean verbose)
w - the wh - the hdefault_val - the default valverbose - the verbosepublic int getWidth()
public int getHeight()
public float getValue(int x,
int y)
ScalarField2Dx - the xy - the y