Class ResamplingGrid.Key

java.lang.Object
org.apache.sis.image.ResamplingGrid.Key
Enclosing class:
ResamplingGrid

private static final class ResamplingGrid.Key extends Object
Key of cached ResamplingGrid instances.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
    pixel coordinates of target images for which to create a grid of source coordinates.
    private final org.opengis.referencing.operation.MathTransform2D
    transform from target grid center to source grid center.
    private final int
    pixel coordinates of target images for which to create a grid of source coordinates.
    private final int
    pixel coordinates of target images for which to create a grid of source coordinates.
    private final int
    pixel coordinates of target images for which to create a grid of source coordinates.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Key(org.opengis.referencing.operation.MathTransform2D toSourceCenter, Rectangle bounds)
    Creates a new key.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Compares the given object with this key for equality.
    int
    Computes a hash code value for this key.

    Methods inherited from class java.lang.Object

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

    • toSourceCenter

      private final org.opengis.referencing.operation.MathTransform2D toSourceCenter
      transform from target grid center to source grid center.
    • x

      private final int x
      pixel coordinates of target images for which to create a grid of source coordinates.
    • y

      private final int y
      pixel coordinates of target images for which to create a grid of source coordinates.
    • width

      private final int width
      pixel coordinates of target images for which to create a grid of source coordinates.
    • height

      private final int height
      pixel coordinates of target images for which to create a grid of source coordinates.
  • Constructor Details

    • Key

      Key(org.opengis.referencing.operation.MathTransform2D toSourceCenter, Rectangle bounds)
      Creates a new key.
  • Method Details

    • hashCode

      public int hashCode()
      Computes a hash code value for this key.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Compares the given object with this key for equality.
      Overrides:
      equals in class Object