Class TiePointSplineForward
java.lang.Object
org.esa.snap.core.dataio.geocoding.forward.TiePointSplineForward
- All Implemented Interfaces:
ForwardCoding
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Create a shallow copy of the ForwardCoding, rasterdata is shared;voiddispose()Free all resources allocatedReturns the latitude and longitude value for a given pixel co-ordinate.getKey()A ForwardCoding shall be instanced only byComponentFactoryusing aStringkey.voidinitialize(GeoRaster geoRaster, boolean containsAntiMeridian, PixelPos[] poleLocations) Initializes the ForwardCoding.
-
Field Details
-
KEY
- See Also:
-
-
Constructor Details
-
TiePointSplineForward
public TiePointSplineForward()
-
-
Method Details
-
initialize
Description copied from interface:ForwardCodingInitializes 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
Description copied from interface:ForwardCodingA ForwardCoding shall be instanced only byComponentFactoryusing aStringkey. Such an instance must be able to return the key, in order to persist the ForwardCoding and recreate such an instance viaComponentFactoryif theProductshall be opened again.- Returns:
- the key String used while instantiating via
ComponentFactory
-
getGeoPos
Description copied from interface:ForwardCodingReturns the latitude and longitude value for a given pixel co-ordinate.- Parameters:
pixelPos- the pixel's coordinates given as x,ygeoPos- an instance ofGeoPosto 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:ForwardCodingFree all resources allocated -
clone
Description copied from interface:ForwardCodingCreate a shallow copy of the ForwardCoding, rasterdata is shared;- Specified by:
clonein interfaceForwardCoding- Returns:
- the clone
-