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() |
getNeighbors
getValueRange
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValueRange
public Subset1D(ScalarField1D src, int[] range)
src
- the srcrange
- the rangepublic int getWidth()
public int getSize()
ScalarFieldND
public float getValue(int nodeID)
ScalarFieldND
nodeID
- the node IDpublic double getCoordinate(int nodeID)
getCoordinate
in interface ScalarField1D
getCoordinate
in class ScalarField1D.Default