Class TiePointInverse

java.lang.Object
org.esa.snap.core.dataio.geocoding.inverse.TiePointInverse
All Implemented Interfaces:
InverseCoding

public class TiePointInverse extends Object implements InverseCoding
  • Field Details

  • Constructor Details

    • TiePointInverse

      public TiePointInverse()
  • Method Details

    • 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 interface InverseCoding
      Parameters:
      geoPos - the geographical position as lat/lon in the coordinate system determined by underlying CRS
      pixelPos - 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.
      Returns:
      the pixel co-ordinates as x/y
    • initialize

      public void initialize(GeoRaster geoRaster, boolean containsAntiMeridian, PixelPos[] poleLocations)
      Specified by:
      initialize in interface InverseCoding
    • getKey

      public String getKey()
      Description copied from interface: InverseCoding
      An InverseCoding shall be instanced only by 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.
      Specified by:
      getKey in interface InverseCoding
      Returns:
      the key String used while instantiating via ComponentFactory
    • dispose

      public void dispose()
      Specified by:
      dispose in interface InverseCoding
    • clone

      public InverseCoding clone()
      Description copied from interface: InverseCoding
      Create a shallow copy of the InverseCoding, rasterdata is shared;
      Specified by:
      clone in interface InverseCoding
      Overrides:
      clone in class Object
      Returns:
      the clone