public class PixelQuadTreeInverse extends Object implements InverseCoding
Modifier and Type | Class and Description |
---|---|
static class |
PixelQuadTreeInverse.Plugin |
Modifier and Type | Field and Description |
---|---|
static String |
KEY |
static String |
KEY_INTERPOLATING |
KEY_SUFFIX_INTERPOLATING
Modifier and Type | Method and Description |
---|---|
InverseCoding |
clone()
Create a shallow copy of the InverseCoding, rasterdata is shared;
|
void |
dispose() |
void |
getGeoPos(int pixelX,
int pixelY,
GeoPos geoPos) |
String |
getKey()
An InverseCoding shall be instanced only by
ComponentFactory using a String key. |
PixelPos |
getPixelPos(GeoPos geoPos,
PixelPos pixelPos)
Returns the pixel coordinates as x/y for a given geographical position given as lat/lon.
|
void |
initialize(GeoRaster geoRaster,
boolean containsAntiMeridian,
PixelPos[] poleLocations) |
public static final String KEY
public static final String KEY_INTERPOLATING
public PixelPos getPixelPos(GeoPos geoPos, PixelPos pixelPos)
InverseCoding
getPixelPos
in interface InverseCoding
geoPos
- the geographical position as lat/lon in the coordinate system determined by underlying CRSpixelPos
- an instance of Point
to be used as return value. If this parameter is
null
, the method creates a new instance which it then returns.public void initialize(GeoRaster geoRaster, boolean containsAntiMeridian, PixelPos[] poleLocations)
initialize
in interface InverseCoding
public String getKey()
InverseCoding
ComponentFactory
using a String
key.
Such an instance must be able to return the key, in order to persist the InverseCoding and recreate
such an instance via ComponentFactory
if the Product
shall
be opened again.getKey
in interface InverseCoding
ComponentFactory
public void dispose()
dispose
in interface InverseCoding
public InverseCoding clone()
InverseCoding
clone
in interface InverseCoding
clone
in class Object
public void getGeoPos(int pixelX, int pixelY, GeoPos geoPos)
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.