public static class ScalarField1D.Empty extends ScalarField1D.Default
ScalarField1D.Default, ScalarField1D.Empty| Constructor and Description |
|---|
Empty(int w,
float default_val)
Instantiates a new empty.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSize()
Gets the size.
|
float |
getValue(int x)
Gets the value.
|
int |
getWidth() |
getCoordinate, getNeighborsgetValueRangeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValueRangepublic Empty(int w,
float default_val)
w - the wdefault_val - the default valpublic int getSize()
ScalarFieldNDpublic float getValue(int x)
ScalarFieldNDx - the node IDpublic int getWidth()