public class StraightThru1D extends java.lang.Object implements ScalarField1D
ScalarField1D.Default, ScalarField1D.Empty
Constructor and Description |
---|
StraightThru1D(ScalarField1D src)
Instantiates a new straight thru 1 D.
|
Modifier and Type | Method and Description |
---|---|
double |
getCoordinate(int nodeID) |
int[] |
getNeighbors(int nodeID)
Gets the neighbors.
|
int |
getSize()
Gets the size.
|
float |
getValue(int nodeID)
Gets the value.
|
double[] |
getValueRange()
Gets the value range.
|
int |
getWidth() |
public StraightThru1D(ScalarField1D src)
src
- the srcpublic int getWidth()
getWidth
in interface usf.saav.common.algorithm.Surface1D
public int getSize()
ScalarFieldND
getSize
in interface ScalarFieldND
public float getValue(int nodeID)
ScalarFieldND
getValue
in interface ScalarFieldND
nodeID
- the node IDpublic int[] getNeighbors(int nodeID)
ScalarFieldND
getNeighbors
in interface ScalarFieldND
nodeID
- the node IDpublic double getCoordinate(int nodeID)
getCoordinate
in interface ScalarField1D
public double[] getValueRange()
ScalarFieldND
getValueRange
in interface ScalarFieldND