Class AbstractStitchingFunc

java.lang.Object
net.algart.matrices.stitching.AbstractStitchingFunc
All Implemented Interfaces:
StitchingFunc

public abstract class AbstractStitchingFunc extends Object implements StitchingFunc
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    get(double[] coordinates, double v0)
    Equivalent to get(coordinates, new double[] {v0}).
    abstract double
    get(double[] coordinates, double[] values)
    Returns the result of this function for the given coordinates and for the values (at these coordinates) of the matrices being stitched.
    double
    get(double[] coordinates, double v0, double v1)
    Equivalent to get(coordinates, new double[] {v0,v1}).
    double
    get(double[] coordinates, double v0, double v1, double v2)
    Equivalent to get(coordinates, new double[] {v0,v1,v2}).
    double
    get(double[] coordinates, double v0, double v1, double v2, double v3)
    Equivalent to get(coordinates, new double[] {v0,v1,v2,v3}).
    double
    get(double[] coordinates, double v0, double v1, double v2, double v3, double v4)
    Equivalent to get(coordinates, new double[] {v0,v1,v2,v3,v4}).
    double
    get(double[] coordinates, double v0, double v1, double v2, double v3, double v4, double v5)
    Equivalent to get(coordinates, new double[] {v0,v1,v2,v3,v4,v5}).
    double
    get(double[] coordinates, double v0, double v1, double v2, double v3, double v4, double v5, double v6)
    Equivalent to get(coordinates, new double[] {v0,v1,v2,v3,v4,v5,v6}).
    double
    get(double[] coordinates, double v0, double v1, double v2, double v3, double v4, double v5, double v6, double v7)
    Equivalent to get(coordinates, new double[] {v0,v1,v2,v3,v4,v5,v6,v7}).
    double
    get1D(double x0, double v0)
    Equivalent to get(new double[] {x0}, new double[] {v0}).
    double
    get1D(double x0, double[] values)
    Equivalent to get(new double[] {x0}, values).
    double
    get1D(double x0, double v0, double v1)
    Equivalent to get(new double[] {x0}, new double[] {v0,v1}).
    double
    get1D(double x0, double v0, double v1, double v2)
    Equivalent to get(new double[] {x0}, new double[] {v0,v1,v2}).
    double
    get1D(double x0, double v0, double v1, double v2, double v3)
    Equivalent to get(new double[] {x0}, new double[] {v0,v1,v2,v3}).
    double
    get1D(double x0, double v0, double v1, double v2, double v3, double v4)
    Equivalent to get(new double[] {x0}, new double[] {v0,v1,v2,v3,v4}).
    double
    get1D(double x0, double v0, double v1, double v2, double v3, double v4, double v5)
    Equivalent to get(new double[] {x0}, new double[] {v0,v1,v2,v3,v4,v5}).
    double
    get1D(double x0, double v0, double v1, double v2, double v3, double v4, double v5, double v6)
    Equivalent to get(new double[] {x0}, new double[] {v0,v1,v2,v3,v4,v5,v6}).
    double
    get1D(double x0, double v0, double v1, double v2, double v3, double v4, double v5, double v6, double v7)
    Equivalent to get(new double[] {x0}, new double[] {v0,v1,v2,v3,v4,v5,v6,v7}).
    double
    get2D(double x0, double x1, double v0)
    Equivalent to get(new double[] {x0,x1}, new double[] {v0}).
    double
    get2D(double x0, double x1, double[] values)
    Equivalent to get(new double[] {x0,x1}, values).
    double
    get2D(double x0, double x1, double v0, double v1)
    Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1}).
    double
    get2D(double x0, double x1, double v0, double v1, double v2)
    Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1,v2}).
    double
    get2D(double x0, double x1, double v0, double v1, double v2, double v3)
    Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1,v2,v3}).
    double
    get2D(double x0, double x1, double v0, double v1, double v2, double v3, double v4)
    Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1,v2,v3,v4}).
    double
    get2D(double x0, double x1, double v0, double v1, double v2, double v3, double v4, double v5)
    Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1,v2,v3,v4,v5}).
    double
    get2D(double x0, double x1, double v0, double v1, double v2, double v3, double v4, double v5, double v6)
    Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1,v2,v3,v4,v5,v6}).
    double
    get2D(double x0, double x1, double v0, double v1, double v2, double v3, double v4, double v5, double v6, double v7)
    Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1,v2,v3,v4,v5,v6,v7}).
    double
    get3D(double x0, double x1, double x2, double v0)
    Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0}).
    double
    get3D(double x0, double x1, double x2, double[] values)
    Equivalent to get(new double[] {x0,x1,x2}, values).
    double
    get3D(double x0, double x1, double x2, double v0, double v1)
    Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1}).
    double
    get3D(double x0, double x1, double x2, double v0, double v1, double v2)
    Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1,v2}).
    double
    get3D(double x0, double x1, double x2, double v0, double v1, double v2, double v3)
    Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1,v2,v3}).
    double
    get3D(double x0, double x1, double x2, double v0, double v1, double v2, double v3, double v4)
    Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1,v2,v3,v4}).
    double
    get3D(double x0, double x1, double x2, double v0, double v1, double v2, double v3, double v4, double v5)
    Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1,v2,v3,v4,v5}).
    double
    get3D(double x0, double x1, double x2, double v0, double v1, double v2, double v3, double v4, double v5, double v6)
    Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1,v2,v3,v4,v5,v6}).
    double
    get3D(double x0, double x1, double x2, double v0, double v1, double v2, double v3, double v4, double v5, double v6, double v7)
    Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1,v2,v3,v4,v5,v6,v7}).

    Methods inherited from class java.lang.Object

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

    • AbstractStitchingFunc

      public AbstractStitchingFunc()
  • Method Details

    • get

      public abstract double get(double[] coordinates, double[] values)
      Description copied from interface: StitchingFunc
      Returns the result of this function for the given coordinates and for the values (at these coordinates) of the matrices being stitched.

      The coordinates argument contains the coordinates of some element in the target (having been stitched) matrix. Usually all coordinates are integer, though this method can be called in more general case of real coordinates of the point.

      The values argument contains the values of elements of all beging stitched matrices, which will correspond to these coordinates after stitching. If coordinates are not integer, these values will be interpolated by some method.

      Some elements of values array can contain the special value Double.NaN: it means that the corresponding frame does not contain the point with the specified coordinates. It particular, it is possible that all passed values are Double.NaN; in this situation, as well as in a case values.length==0, this method should return some special value ("filler" outside all frames).

      This method must not change the elements of the passed Java arrays!

      Specified by:
      get in interface StitchingFunc
      Parameters:
      coordinates - the coordinates of some point in n-dimensional space.
      values - the values at this position of all matrices being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get

      public double get(double[] coordinates, double v0)
      Description copied from interface: StitchingFunc
      Equivalent to get(coordinates, new double[] {v0}). Provides better performance because it does not require the second Java array creation.
      Specified by:
      get in interface StitchingFunc
      Parameters:
      coordinates - the coordinates of some point in n-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get

      public double get(double[] coordinates, double v0, double v1)
      Description copied from interface: StitchingFunc
      Equivalent to get(coordinates, new double[] {v0,v1}). Provides better performance because it does not require the second Java array creation.
      Specified by:
      get in interface StitchingFunc
      Parameters:
      coordinates - the coordinates of some point in n-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get

      public double get(double[] coordinates, double v0, double v1, double v2)
      Description copied from interface: StitchingFunc
      Equivalent to get(coordinates, new double[] {v0,v1,v2}). Provides better performance because it does not require the second Java array creation.
      Specified by:
      get in interface StitchingFunc
      Parameters:
      coordinates - the coordinates of some point in n-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get

      public double get(double[] coordinates, double v0, double v1, double v2, double v3)
      Description copied from interface: StitchingFunc
      Equivalent to get(coordinates, new double[] {v0,v1,v2,v3}). Provides better performance because it does not require the second Java array creation.
      Specified by:
      get in interface StitchingFunc
      Parameters:
      coordinates - the coordinates of some point in n-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get

      public double get(double[] coordinates, double v0, double v1, double v2, double v3, double v4)
      Description copied from interface: StitchingFunc
      Equivalent to get(coordinates, new double[] {v0,v1,v2,v3,v4}). Provides better performance because it does not require the second Java array creation.
      Specified by:
      get in interface StitchingFunc
      Parameters:
      coordinates - the coordinates of some point in n-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get

      public double get(double[] coordinates, double v0, double v1, double v2, double v3, double v4, double v5)
      Description copied from interface: StitchingFunc
      Equivalent to get(coordinates, new double[] {v0,v1,v2,v3,v4,v5}). Provides better performance because it does not require the second Java array creation.
      Specified by:
      get in interface StitchingFunc
      Parameters:
      coordinates - the coordinates of some point in n-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      v5 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get

      public double get(double[] coordinates, double v0, double v1, double v2, double v3, double v4, double v5, double v6)
      Description copied from interface: StitchingFunc
      Equivalent to get(coordinates, new double[] {v0,v1,v2,v3,v4,v5,v6}). Provides better performance because it does not require the second Java array creation.
      Specified by:
      get in interface StitchingFunc
      Parameters:
      coordinates - the coordinates of some point in n-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      v5 - the value at this position of the matrix being stitched.
      v6 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get

      public double get(double[] coordinates, double v0, double v1, double v2, double v3, double v4, double v5, double v6, double v7)
      Description copied from interface: StitchingFunc
      Equivalent to get(coordinates, new double[] {v0,v1,v2,v3,v4,v5,v6,v7}). Provides better performance because it does not require the second Java array creation.
      Specified by:
      get in interface StitchingFunc
      Parameters:
      coordinates - the coordinates of some point in n-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      v5 - the value at this position of the matrix being stitched.
      v6 - the value at this position of the matrix being stitched.
      v7 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get1D

      public double get1D(double x0, double[] values)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0}, values). Provides better performance because it does not require the first Java array creation.
      Specified by:
      get1D in interface StitchingFunc
      Parameters:
      x0 - the coordinate of some point in 1-dimensional space.
      values - the values at this position of all matrices being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get2D

      public double get2D(double x0, double x1, double[] values)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1}, values). Provides better performance because it does not require the first Java array creation.
      Specified by:
      get2D in interface StitchingFunc
      Parameters:
      x0 - the 1st coordinate of some point in 2-dimensional space.
      x1 - the 2nd coordinate of some point in 2-dimensional space.
      values - the values at this position of all matrices being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get3D

      public double get3D(double x0, double x1, double x2, double[] values)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1,x2}, values). Provides better performance because it does not require the first Java array creation.
      Specified by:
      get3D in interface StitchingFunc
      Parameters:
      x0 - the 1st coordinate of some point in 3-dimensional space.
      x1 - the 2nd coordinate of some point in 3-dimensional space.
      x2 - the 3rd coordinate of some point in 3-dimensional space.
      values - the values at this position of all matrices being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get1D

      public double get1D(double x0, double v0)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0}, new double[] {v0}). Provides better performance because it does not require Java array creation.
      Specified by:
      get1D in interface StitchingFunc
      Parameters:
      x0 - the coordinate of some point in 1-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get2D

      public double get2D(double x0, double x1, double v0)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1}, new double[] {v0}). Provides better performance because it does not require Java array creation.
      Specified by:
      get2D in interface StitchingFunc
      Parameters:
      x0 - 1st coordinate of some point in 2-dimensional space.
      x1 - the 2nd coordinate of some point in 2-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get3D

      public double get3D(double x0, double x1, double x2, double v0)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0}). Provides better performance because it does not require Java array creation.
      Specified by:
      get3D in interface StitchingFunc
      Parameters:
      x0 - the 1st coordinate of some point in 3-dimensional space.
      x1 - the 2nd coordinate of some point in 3-dimensional space.
      x2 - the 3rd coordinate of some point in 3-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get1D

      public double get1D(double x0, double v0, double v1)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0}, new double[] {v0,v1}). Provides better performance because it does not require Java array creation.
      Specified by:
      get1D in interface StitchingFunc
      Parameters:
      x0 - the coordinate of some point in 1-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get2D

      public double get2D(double x0, double x1, double v0, double v1)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1}). Provides better performance because it does not require Java array creation.
      Specified by:
      get2D in interface StitchingFunc
      Parameters:
      x0 - 1st coordinate of some point in 2-dimensional space.
      x1 - the 2nd coordinate of some point in 2-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get3D

      public double get3D(double x0, double x1, double x2, double v0, double v1)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1}). Provides better performance because it does not require Java array creation.
      Specified by:
      get3D in interface StitchingFunc
      Parameters:
      x0 - the 1st coordinate of some point in 3-dimensional space.
      x1 - the 2nd coordinate of some point in 3-dimensional space.
      x2 - the 3rd coordinate of some point in 3-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get1D

      public double get1D(double x0, double v0, double v1, double v2)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0}, new double[] {v0,v1,v2}). Provides better performance because it does not require Java array creation.
      Specified by:
      get1D in interface StitchingFunc
      Parameters:
      x0 - the coordinate of some point in 1-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get2D

      public double get2D(double x0, double x1, double v0, double v1, double v2)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1,v2}). Provides better performance because it does not require Java array creation.
      Specified by:
      get2D in interface StitchingFunc
      Parameters:
      x0 - 1st coordinate of some point in 2-dimensional space.
      x1 - the 2nd coordinate of some point in 2-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get3D

      public double get3D(double x0, double x1, double x2, double v0, double v1, double v2)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1,v2}). Provides better performance because it does not require Java array creation.
      Specified by:
      get3D in interface StitchingFunc
      Parameters:
      x0 - the 1st coordinate of some point in 3-dimensional space.
      x1 - the 2nd coordinate of some point in 3-dimensional space.
      x2 - the 3rd coordinate of some point in 3-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get1D

      public double get1D(double x0, double v0, double v1, double v2, double v3)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0}, new double[] {v0,v1,v2,v3}). Provides better performance because it does not require Java array creation.
      Specified by:
      get1D in interface StitchingFunc
      Parameters:
      x0 - the coordinate of some point in 1-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get2D

      public double get2D(double x0, double x1, double v0, double v1, double v2, double v3)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1,v2,v3}). Provides better performance because it does not require Java array creation.
      Specified by:
      get2D in interface StitchingFunc
      Parameters:
      x0 - 1st coordinate of some point in 2-dimensional space.
      x1 - the 2nd coordinate of some point in 2-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get3D

      public double get3D(double x0, double x1, double x2, double v0, double v1, double v2, double v3)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1,v2,v3}). Provides better performance because it does not require Java array creation.
      Specified by:
      get3D in interface StitchingFunc
      Parameters:
      x0 - the 1st coordinate of some point in 3-dimensional space.
      x1 - the 2nd coordinate of some point in 3-dimensional space.
      x2 - the 3rd coordinate of some point in 3-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get1D

      public double get1D(double x0, double v0, double v1, double v2, double v3, double v4)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0}, new double[] {v0,v1,v2,v3,v4}). Provides better performance because it does not require Java array creation.
      Specified by:
      get1D in interface StitchingFunc
      Parameters:
      x0 - the coordinate of some point in 1-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get2D

      public double get2D(double x0, double x1, double v0, double v1, double v2, double v3, double v4)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1,v2,v3,v4}). Provides better performance because it does not require Java array creation.
      Specified by:
      get2D in interface StitchingFunc
      Parameters:
      x0 - 1st coordinate of some point in 2-dimensional space.
      x1 - the 2nd coordinate of some point in 2-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get3D

      public double get3D(double x0, double x1, double x2, double v0, double v1, double v2, double v3, double v4)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1,v2,v3,v4}). Provides better performance because it does not require Java array creation.
      Specified by:
      get3D in interface StitchingFunc
      Parameters:
      x0 - the 1st coordinate of some point in 3-dimensional space.
      x1 - the 2nd coordinate of some point in 3-dimensional space.
      x2 - the 3rd coordinate of some point in 3-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get1D

      public double get1D(double x0, double v0, double v1, double v2, double v3, double v4, double v5)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0}, new double[] {v0,v1,v2,v3,v4,v5}). Provides better performance because it does not require Java array creation.
      Specified by:
      get1D in interface StitchingFunc
      Parameters:
      x0 - the coordinate of some point in 1-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      v5 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get2D

      public double get2D(double x0, double x1, double v0, double v1, double v2, double v3, double v4, double v5)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1,v2,v3,v4,v5}). Provides better performance because it does not require Java array creation.
      Specified by:
      get2D in interface StitchingFunc
      Parameters:
      x0 - 1st coordinate of some point in 2-dimensional space.
      x1 - the 2nd coordinate of some point in 2-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      v5 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get3D

      public double get3D(double x0, double x1, double x2, double v0, double v1, double v2, double v3, double v4, double v5)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1,v2,v3,v4,v5}). Provides better performance because it does not require Java array creation.
      Specified by:
      get3D in interface StitchingFunc
      Parameters:
      x0 - the 1st coordinate of some point in 3-dimensional space.
      x1 - the 2nd coordinate of some point in 3-dimensional space.
      x2 - the 3rd coordinate of some point in 3-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      v5 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get1D

      public double get1D(double x0, double v0, double v1, double v2, double v3, double v4, double v5, double v6)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0}, new double[] {v0,v1,v2,v3,v4,v5,v6}). Provides better performance because it does not require Java array creation.
      Specified by:
      get1D in interface StitchingFunc
      Parameters:
      x0 - the coordinate of some point in 1-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      v5 - the value at this position of the matrix being stitched.
      v6 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get2D

      public double get2D(double x0, double x1, double v0, double v1, double v2, double v3, double v4, double v5, double v6)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1,v2,v3,v4,v5,v6}). Provides better performance because it does not require Java array creation.
      Specified by:
      get2D in interface StitchingFunc
      Parameters:
      x0 - 1st coordinate of some point in 2-dimensional space.
      x1 - the 2nd coordinate of some point in 2-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      v5 - the value at this position of the matrix being stitched.
      v6 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get3D

      public double get3D(double x0, double x1, double x2, double v0, double v1, double v2, double v3, double v4, double v5, double v6)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1,v2,v3,v4,v5,v6}). Provides better performance because it does not require Java array creation.
      Specified by:
      get3D in interface StitchingFunc
      Parameters:
      x0 - the 1st coordinate of some point in 3-dimensional space.
      x1 - the 2nd coordinate of some point in 3-dimensional space.
      x2 - the 3rd coordinate of some point in 3-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      v5 - the value at this position of the matrix being stitched.
      v6 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get1D

      public double get1D(double x0, double v0, double v1, double v2, double v3, double v4, double v5, double v6, double v7)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0}, new double[] {v0,v1,v2,v3,v4,v5,v6,v7}). Provides better performance because it does not require Java array creation.
      Specified by:
      get1D in interface StitchingFunc
      Parameters:
      x0 - the coordinate of some point in 1-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      v5 - the value at this position of the matrix being stitched.
      v6 - the value at this position of the matrix being stitched.
      v7 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get2D

      public double get2D(double x0, double x1, double v0, double v1, double v2, double v3, double v4, double v5, double v6, double v7)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1}, new double[] {v0,v1,v2,v3,v4,v5,v6,v7}). Provides better performance because it does not require Java array creation.
      Specified by:
      get2D in interface StitchingFunc
      Parameters:
      x0 - 1st coordinate of some point in 2-dimensional space.
      x1 - the 2nd coordinate of some point in 2-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      v5 - the value at this position of the matrix being stitched.
      v6 - the value at this position of the matrix being stitched.
      v7 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.
    • get3D

      public double get3D(double x0, double x1, double x2, double v0, double v1, double v2, double v3, double v4, double v5, double v6, double v7)
      Description copied from interface: StitchingFunc
      Equivalent to get(new double[] {x0,x1,x2}, new double[] {v0,v1,v2,v3,v4,v5,v6,v7}). Provides better performance because it does not require Java array creation.
      Specified by:
      get3D in interface StitchingFunc
      Parameters:
      x0 - the 1st coordinate of some point in 3-dimensional space.
      x1 - the 2nd coordinate of some point in 3-dimensional space.
      x2 - the 3rd coordinate of some point in 3-dimensional space.
      v0 - the value at this position of the matrix being stitched.
      v1 - the value at this position of the matrix being stitched.
      v2 - the value at this position of the matrix being stitched.
      v3 - the value at this position of the matrix being stitched.
      v4 - the value at this position of the matrix being stitched.
      v5 - the value at this position of the matrix being stitched.
      v6 - the value at this position of the matrix being stitched.
      v7 - the value at this position of the matrix being stitched.
      Returns:
      the value that will be saved in the resulting stitched matrix at these coordinates.