Class TiePointBilinearForward
- java.lang.Object
-
- org.esa.snap.core.dataio.geocoding.forward.TiePointBilinearForward
-
- All Implemented Interfaces:
ForwardCoding
public class TiePointBilinearForward extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TiePointBilinearForward.Plugin
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ForwardCoding
clone()
Create a shallow copy of the ForwardCoding, rasterdata is shared;void
dispose()
Free all resources allocatedGeoPos
getGeoPos(PixelPos pixelPos, GeoPos geoPos)
Returns the latitude and longitude value for a given pixel co-ordinate.String
getKey()
A ForwardCoding shall be instanced only byComponentFactory
using aString
key.void
initialize(GeoRaster geoRaster, boolean containsAntiMeridian, PixelPos[] poleLocations)
Initializes the ForwardCoding.
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(GeoRaster geoRaster, boolean containsAntiMeridian, PixelPos[] poleLocations)
Description copied from interface:ForwardCoding
Initializes the ForwardCoding. Passes in the geo_raster and allows initializing.- Parameters:
geoRaster
- the geoRastercontainsAntiMeridian
- whether the data crosses the anti-meridian or notpoleLocations
- locations of the poles - o3 a leght zero array if no poles are contained in the data
-
getKey
public String getKey()
Description copied from interface:ForwardCoding
A ForwardCoding shall be instanced only byComponentFactory
using aString
key. Such an instance must be able to return the key, in order to persist the ForwardCoding and recreate such an instance viaComponentFactory
if theProduct
shall be opened again.- Returns:
- the key String used while instantiating via
ComponentFactory
-
getGeoPos
public GeoPos getGeoPos(PixelPos pixelPos, GeoPos geoPos)
Description copied from interface:ForwardCoding
Returns the latitude and longitude value for a given pixel co-ordinate.- Parameters:
pixelPos
- the pixel's coordinates given as x,ygeoPos
- an instance ofGeoPos
to be used as return value. If this parameter isnull
, the method creates a new instance which it then returns.- Returns:
- the geographical position as lat/lon in the coordinate system determined by the underlying CRS
-
dispose
public void dispose()
Description copied from interface:ForwardCoding
Free all resources allocated
-
clone
public ForwardCoding clone()
Description copied from interface:ForwardCoding
Create a shallow copy of the ForwardCoding, rasterdata is shared;- Specified by:
clone
in interfaceForwardCoding
- Returns:
- the clone
-
-