Package org.esa.snap.core.dataop.barithm
Interface RasterDataLoop.Body
-
- Enclosing class:
- RasterDataLoop
public static interface RasterDataLoop.Body
Represents the body to be evaluated for each pixel within the raster.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
eval(RasterDataEvalEnv env, int pixelIndex)
This method is called for each pixel within the sub-raster.
-
-
-
Method Detail
-
eval
void eval(RasterDataEvalEnv env, int pixelIndex)
This method is called for each pixel within the sub-raster. The supplied pixel index is defined relative to the sub-rasters origin so that the index 0 (zero) corresponds to the raster's origin atRasterDataEvalEnv.getOffsetX()
,RasterDataEvalEnv.getOffsetY()
.- Parameters:
env
- theRasterDataEvalEnv
which must be used by any term to be evaluated.pixelIndex
- the current, relative pixel index- See Also:
RasterDataLoop.forEachPixel(Body)
-
-