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, getNeighbors
getValueRange
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValueRange
public Empty(int w, float default_val)
w
- the wdefault_val
- the default valpublic int getSize()
ScalarFieldND
public float getValue(int x)
ScalarFieldND
x
- the node IDpublic int getWidth()