public static class Synthetic2D.MonkeySaddle extends Synthetic2D
Synthetic2D.GaussianMixing, Synthetic2D.MonkeySaddle
ScalarField2D.Default, ScalarField2D.Empty, ScalarField2D.Test
Constructor and Description |
---|
MonkeySaddle(int width,
int height)
Instantiates a new monkey saddle.
|
Modifier and Type | Method and Description |
---|---|
float |
getValue(int x,
int y)
Gets the value.
|
getHeight, getWidth
getCoordinate, getNeighbors, getSize, getValue, isValid, toPImage
getValueRange
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValueRange
public MonkeySaddle(int width, int height)
width
- the widthheight
- the heightpublic float getValue(int x, int y)
ScalarField2D
x
- the xy
- the y