public class Extract2DFrom3D extends ScalarField2D.Default implements ScalarField2D
ScalarField2D.Default, ScalarField2D.Empty, ScalarField2D.Test
Constructor and Description |
---|
Extract2DFrom3D(ScalarField3D sf,
int layer)
Instantiates a new extract 2 D from 3 D.
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
float |
getValue(int x,
int y)
Gets the value.
|
int |
getWidth() |
getCoordinate, getNeighbors, getSize, getValue, isValid, toPImage
getValueRange
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCoordinate, toPImage
getNeighbors, getSize, getValue, getValueRange
public Extract2DFrom3D(ScalarField3D sf, int layer)
sf
- the sflayer
- the layerpublic int getWidth()
getWidth
in interface usf.saav.common.algorithm.Surface1D
getWidth
in interface usf.saav.common.algorithm.Surface2D
public int getHeight()
getHeight
in interface usf.saav.common.algorithm.Surface2D
public float getValue(int x, int y)
ScalarField2D
getValue
in interface ScalarField2D
x
- the xy
- the y