Class ImageInterpolator.Cell

    • Field Detail

      • m0

        protected final int m0
      • m1

        protected final int m1
      • n0

        protected final int n0
      • n1

        protected final int n1
      • minx

        protected float minx
      • maxx

        protected float maxx
      • miny

        protected float miny
      • maxy

        protected float maxy
    • Constructor Detail

      • Cell

        public Cell​(int m0,
                    int m1,
                    int n0,
                    int n1)
    • Method Detail

      • getSizeInBytes

        public long getSizeInBytes()
        Description copied from interface: Cacheable
        Retrieves the approximate size of this object in bytes. Implementors are encouraged to calculate the exact size for smaller objects, but use approximate values for objects that include such large components that the approximation would produce an error so small that the extra computation would be wasteful.
        Specified by:
        getSizeInBytes in interface Cacheable
        Returns:
        this Cacheable object's size in bytes
      • build

        public void build​(int numLevels,
                          int cellSize)
      • intersects

        public boolean intersects​(float x,
                                  float y)
      • computeBounds

        public void computeBounds​(java.awt.Dimension dim,
                                  float[] xs,
                                  float[] ys)
      • computeExtremesFromLocations

        protected void computeExtremesFromLocations​(java.awt.Dimension dim,
                                                    float[] xs,
                                                    float[] ys)
      • computeExtremesFromChildren

        protected void computeExtremesFromChildren()