public class StraightThru3D extends java.lang.Object implements ScalarField3D
ScalarField3D.Default, ScalarField3D.Empty| Constructor and Description |
|---|
StraightThru3D(ScalarField3D src)
Instantiates a new straight thru 3 D.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getCoordinate(int x,
int y,
int z) |
int |
getDepth() |
int |
getHeight() |
int[] |
getNeighbors(int nodeID)
Gets the neighbors.
|
int |
getSize()
Gets the size.
|
float |
getValue(int nodeID)
Gets the value.
|
float |
getValue(int x,
int y,
int z)
Gets the value.
|
double[] |
getValueRange()
Gets the value range.
|
int |
getWidth() |
public StraightThru3D(ScalarField3D src)
src - the srcpublic 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 int getWidth()
getWidth in interface ScalarField3DgetWidth in interface usf.saav.common.algorithm.Surface1DgetWidth in interface usf.saav.common.algorithm.Surface2DgetWidth in interface usf.saav.common.algorithm.Surface3Dpublic int getHeight()
getHeight in interface ScalarField3DgetHeight in interface usf.saav.common.algorithm.Surface2DgetHeight in interface usf.saav.common.algorithm.Surface3Dpublic int getDepth()
getDepth in interface ScalarField3DgetDepth in interface usf.saav.common.algorithm.Surface3Dpublic float getValue(int x,
int y,
int z)
ScalarField3DgetValue in interface ScalarField3Dx - the xy - the yz - the zpublic double[] getCoordinate(int x,
int y,
int z)
getCoordinate in interface ScalarField3Dpublic double[] getValueRange()
ScalarFieldNDgetValueRange in interface ScalarFieldND