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, toPImagegetValueRangeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValueRangepublic Moment0(ScalarField3D src)
src - the srcpublic int getWidth()
public int getHeight()
public float getValue(int x,
int y)
ScalarField2Dx - the xy - the ypublic double[] getCoordinate(int x,
int y)
getCoordinate in interface ScalarField2DgetCoordinate in class ScalarField2D.Default