public class Subset1D extends ScalarField1D.Default
ScalarField1D.Default, ScalarField1D.Empty| Constructor and Description |
|---|
Subset1D(ScalarField1D src,
int[] range)
Instantiates a new subset 1 D.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCoordinate(int nodeID) |
int |
getSize()
Gets the size.
|
float |
getValue(int nodeID)
Gets the value.
|
int |
getWidth() |
getNeighborsgetValueRangeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValueRangepublic Subset1D(ScalarField1D src, int[] range)
src - the srcrange - the rangepublic int getWidth()
public int getSize()
ScalarFieldNDpublic float getValue(int nodeID)
ScalarFieldNDnodeID - the node IDpublic double getCoordinate(int nodeID)
getCoordinate in interface ScalarField1DgetCoordinate in class ScalarField1D.Default