MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / setAll

Method setAll

src/org/opensourcephysics/frames/RasterFrame.java:227–230  ·  view source on GitHub ↗

Sets the raster's values and scale. @param val int[][] the new values @param xmin double @param xmax double @param ymin double @param ymax double

(byte val[][], double xmin, double xmax, double ymin, double ymax)

Source from the content-addressed store, hash-verified

225 * @param ymax double
226 */
227 public void setAll(byte val[][], double xmin, double xmax, double ymin, double ymax) {
228 setAll(val);
229 raster.setMinMax(xmin, xmax, ymin, ymax);
230 }
231
232 /**
233 * Sets the raster's values using byte values.

Callers

nothing calls this directly

Calls 6

resizeRasterMethod · 0.95
setAtIndexMethod · 0.95
setMinMaxMethod · 0.65
getNxMethod · 0.65
getNyMethod · 0.65
setBlockMethod · 0.65

Tested by

no test coverage detected