public class PixelInfoViewUtils extends Object
| Constructor and Description |
|---|
PixelInfoViewUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Point2D.Double |
computeScenePos(ProductSceneView view,
int x,
int y)
Compute the scene position according to the view raster
|
static String |
getPixelValue(Point2D.Double scenePos,
RasterDataNode raster)
Get the pixel value for the current raster
|
public static Point2D.Double computeScenePos(ProductSceneView view, int x, int y)
view - the current viewx - the current pixel's X coordinatey - the current pixel's Y coordinatepublic static String getPixelValue(Point2D.Double scenePos, RasterDataNode raster)
scenePos - the scene position (in another raster)raster - the current raster for which we want to find the pixel valueCopyright © 2014–2022 European Space Agency (ESA). All rights reserved.