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.Surface1Dpublic int getSize()
ScalarFieldNDgetSize in interface ScalarFieldNDpublic float getValue(int nodeID)
ScalarFieldNDgetValue in interface ScalarFieldNDnodeID - the node IDpublic int[] getNeighbors(int nodeID)
ScalarFieldNDgetNeighbors in interface ScalarFieldNDnodeID - the node IDpublic double getCoordinate(int nodeID)
getCoordinate in interface ScalarField1Dpublic double[] getValueRange()
ScalarFieldNDgetValueRange in interface ScalarFieldND