public class Moment0 extends ScalarField2D.Default
ScalarField2D.Default, ScalarField2D.Empty, ScalarField2D.Test
Constructor and Description |
---|
Moment0(ScalarField3D src)
Instantiates a new moment 0.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getCoordinate(int x,
int y) |
int |
getHeight() |
float |
getValue(int x,
int y)
Gets the value.
|
int |
getWidth() |
getNeighbors, getSize, getValue, isValid, toPImage
getValueRange
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValueRange
public Moment0(ScalarField3D src)
src
- the srcpublic int getWidth()
public int getHeight()
public float getValue(int x, int y)
ScalarField2D
x
- the xy
- the ypublic double[] getCoordinate(int x, int y)
getCoordinate
in interface ScalarField2D
getCoordinate
in class ScalarField2D.Default