Class PixelQuadTreeInverse
- java.lang.Object
-
- org.esa.snap.core.dataio.geocoding.inverse.PixelQuadTreeInverse
-
- All Implemented Interfaces:
InverseCoding
public class PixelQuadTreeInverse extends Object implements InverseCoding
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PixelQuadTreeInverse.Plugin
-
Field Summary
Fields Modifier and Type Field Description static String
KEY
static String
KEY_INTERPOLATING
-
Fields inherited from interface org.esa.snap.core.dataio.geocoding.InverseCoding
KEY_SUFFIX_INTERPOLATING
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 byComponentFactory
using aString
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)
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
KEY_INTERPOLATING
public static final String KEY_INTERPOLATING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPixelPos
public PixelPos getPixelPos(GeoPos geoPos, PixelPos pixelPos)
Description copied from interface:InverseCoding
Returns the pixel coordinates as x/y for a given geographical position given as lat/lon.- Specified by:
getPixelPos
in interfaceInverseCoding
- Parameters:
geoPos
- the geographical position as lat/lon in the coordinate system determined by underlying CRSpixelPos
- an instance ofPoint
to be used as return value. If this parameter isnull
, the method creates a new instance which it then returns.- Returns:
- the pixel co-ordinates as x/y
-
initialize
public void initialize(GeoRaster geoRaster, boolean containsAntiMeridian, PixelPos[] poleLocations)
- Specified by:
initialize
in interfaceInverseCoding
-
getKey
public String getKey()
Description copied from interface:InverseCoding
An InverseCoding shall be instanced only byComponentFactory
using aString
key. Such an instance must be able to return the key, in order to persist the InverseCoding and recreate such an instance viaComponentFactory
if theProduct
shall be opened again.- Specified by:
getKey
in interfaceInverseCoding
- Returns:
- the key String used while instantiating via
ComponentFactory
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceInverseCoding
-
clone
public InverseCoding clone()
Description copied from interface:InverseCoding
Create a shallow copy of the InverseCoding, rasterdata is shared;- Specified by:
clone
in interfaceInverseCoding
- Overrides:
clone
in classObject
- Returns:
- the clone
-
getGeoPos
public void getGeoPos(int pixelX, int pixelY, GeoPos geoPos)
-
-