public class Composite2D extends ScalarField2D.Default implements ScalarField2D
ScalarField2D.Default, ScalarField2D.Empty, ScalarField2D.Test| Constructor and Description |
|---|
Composite2D(ScalarField2D base,
ScalarField2D composite,
int offX,
int offY)
Instantiates a new composite 2 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, toPImagegetValueRangeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCoordinate, toPImagegetNeighbors, getSize, getValue, getValueRangepublic Composite2D(ScalarField2D base, ScalarField2D composite, int offX, int offY)
base - the basecomposite - the compositeoffX - the off XoffY - the off Ypublic int getWidth()
getWidth in interface usf.saav.common.algorithm.Surface1DgetWidth in interface usf.saav.common.algorithm.Surface2Dpublic int getHeight()
getHeight in interface usf.saav.common.algorithm.Surface2Dpublic float getValue(int x,
int y)
ScalarField2DgetValue in interface ScalarField2Dx - the xy - the y