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, toPImage
getValueRange
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCoordinate, toPImage
getNeighbors, getSize, getValue, getValueRange
public 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.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