public abstract static class ScalarField2D.Default extends ScalarFieldND.Default implements ScalarField2D
ScalarField2D.Default, ScalarField2D.Empty, ScalarField2D.Test
Modifier and Type | Method and Description |
---|---|
double[] |
getCoordinate(int x,
int y) |
int[] |
getNeighbors(int nodeID)
Gets the neighbors.
|
int |
getSize()
Gets the size.
|
float |
getValue(int nodeID)
Gets the value.
|
boolean |
isValid(int nodeID)
Checks if is valid.
|
usf.saav.common.mvc.swing.TImage |
toPImage(usf.saav.common.mvc.swing.TGraphics g,
usf.saav.common.colormap.Colormap colormap) |
getValueRange
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValue
getValueRange
public double[] getCoordinate(int x, int y)
getCoordinate
in interface ScalarField2D
public int getSize()
ScalarFieldND
getSize
in interface ScalarFieldND
public float getValue(int nodeID)
ScalarFieldND
getValue
in interface ScalarFieldND
nodeID
- the node IDpublic boolean isValid(int nodeID)
nodeID
- the node IDpublic int[] getNeighbors(int nodeID)
ScalarFieldND
getNeighbors
in interface ScalarFieldND
nodeID
- the node IDpublic usf.saav.common.mvc.swing.TImage toPImage(usf.saav.common.mvc.swing.TGraphics g, usf.saav.common.colormap.Colormap colormap)
toPImage
in interface ScalarField2D