Class Resampling.Index

java.lang.Object
org.esa.snap.core.dataop.resamp.Resampling.Index
Enclosing interface:
Resampling

public static final class Resampling.Index extends Object
An index is used to provide resampling information at a given raster position x,y.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
     
    final double[]
     
    double
     
    final double[]
     
    double
     
    final double[]
     
    final double[]
     
    int
     
    double
     
    double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Index(int m, int n)
    Creates a new index.
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    crop(double i, double max)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      public double x
    • y

      public double y
    • width

      public int width
    • height

      public int height
    • i0

      public double i0
    • j0

      public double j0
    • i

      public final double[] i
    • j

      public final double[] j
    • ki

      public final double[] ki
    • kj

      public final double[] kj
  • Constructor Details

    • Index

      public Index(int m, int n)
      Creates a new index.
      Parameters:
      m - the maximum number of different pixel positions required to perform a resampling
      n - the maximum number of polynomial coefficients required to perform a resampling
  • Method Details

    • crop

      public static double crop(double i, double max)