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) |
getValueRangeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValuegetValueRangepublic double[] getCoordinate(int x,
int y)
getCoordinate in interface ScalarField2Dpublic int getSize()
ScalarFieldNDgetSize in interface ScalarFieldNDpublic float getValue(int nodeID)
ScalarFieldNDgetValue in interface ScalarFieldNDnodeID - the node IDpublic boolean isValid(int nodeID)
nodeID - the node IDpublic int[] getNeighbors(int nodeID)
ScalarFieldNDgetNeighbors in interface ScalarFieldNDnodeID - 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