Class AbstractStitchingFunc
- All Implemented Interfaces:
StitchingFunc
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
get
(double[] coordinates, double v0) Equivalent toget
(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 toget
(coordinates, new double[] {v0,v1}).double
get
(double[] coordinates, double v0, double v1, double v2) Equivalent toget
(coordinates, new double[] {v0,v1,v2}).double
get
(double[] coordinates, double v0, double v1, double v2, double v3) Equivalent toget
(coordinates, new double[] {v0,v1,v2,v3}).double
get
(double[] coordinates, double v0, double v1, double v2, double v3, double v4) Equivalent toget
(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 toget
(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 toget
(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 toget
(coordinates, new double[] {v0,v1,v2,v3,v4,v5,v6,v7}).double
get1D
(double x0, double v0) Equivalent toget
(new double[] {x0}, new double[] {v0}).double
get1D
(double x0, double[] values) Equivalent toget
(new double[] {x0}, values).double
get1D
(double x0, double v0, double v1) Equivalent toget
(new double[] {x0}, new double[] {v0,v1}).double
get1D
(double x0, double v0, double v1, double v2) Equivalent toget
(new double[] {x0}, new double[] {v0,v1,v2}).double
get1D
(double x0, double v0, double v1, double v2, double v3) Equivalent toget
(new double[] {x0}, new double[] {v0,v1,v2,v3}).double
get1D
(double x0, double v0, double v1, double v2, double v3, double v4) Equivalent toget
(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 toget
(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 toget
(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 toget
(new double[] {x0}, new double[] {v0,v1,v2,v3,v4,v5,v6,v7}).double
get2D
(double x0, double x1, double v0) Equivalent toget
(new double[] {x0,x1}, new double[] {v0}).double
get2D
(double x0, double x1, double[] values) Equivalent toget
(new double[] {x0,x1}, values).double
get2D
(double x0, double x1, double v0, double v1) Equivalent toget
(new double[] {x0,x1}, new double[] {v0,v1}).double
get2D
(double x0, double x1, double v0, double v1, double v2) Equivalent toget
(new double[] {x0,x1}, new double[] {v0,v1,v2}).double
get2D
(double x0, double x1, double v0, double v1, double v2, double v3) Equivalent toget
(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 toget
(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 toget
(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 toget
(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 toget
(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 toget
(new double[] {x0,x1,x2}, new double[] {v0}).double
get3D
(double x0, double x1, double x2, double[] values) Equivalent toget
(new double[] {x0,x1,x2}, values).double
get3D
(double x0, double x1, double x2, double v0, double v1) Equivalent toget
(new double[] {x0,x1,x2}, new double[] {v0,v1}).double
get3D
(double x0, double x1, double x2, double v0, double v1, double v2) Equivalent toget
(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 toget
(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 toget
(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 toget
(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 toget
(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 toget
(new double[] {x0,x1,x2}, new double[] {v0,v1,v2,v3,v4,v5,v6,v7}).
-
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 interfaceStitchingFunc
- 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 toget
(coordinates, new double[] {v0}). Provides better performance because it does not require the second Java array creation.- Specified by:
get
in interfaceStitchingFunc
- 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 toget
(coordinates, new double[] {v0,v1}). Provides better performance because it does not require the second Java array creation.- Specified by:
get
in interfaceStitchingFunc
- 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 toget
(coordinates, new double[] {v0,v1,v2}). Provides better performance because it does not require the second Java array creation.- Specified by:
get
in interfaceStitchingFunc
- 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 toget
(coordinates, new double[] {v0,v1,v2,v3}). Provides better performance because it does not require the second Java array creation.- Specified by:
get
in interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(new double[] {x0}, values). Provides better performance because it does not require the first Java array creation.- Specified by:
get1D
in interfaceStitchingFunc
- 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 toget
(new double[] {x0,x1}, values). Provides better performance because it does not require the first Java array creation.- Specified by:
get2D
in interfaceStitchingFunc
- 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 toget
(new double[] {x0,x1,x2}, values). Provides better performance because it does not require the first Java array creation.- Specified by:
get3D
in interfaceStitchingFunc
- 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 toget
(new double[] {x0}, new double[] {v0}). Provides better performance because it does not require Java array creation.- Specified by:
get1D
in interfaceStitchingFunc
- 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 toget
(new double[] {x0,x1}, new double[] {v0}). Provides better performance because it does not require Java array creation.- Specified by:
get2D
in interfaceStitchingFunc
- 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 toget
(new double[] {x0,x1,x2}, new double[] {v0}). Provides better performance because it does not require Java array creation.- Specified by:
get3D
in interfaceStitchingFunc
- 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 toget
(new double[] {x0}, new double[] {v0,v1}). Provides better performance because it does not require Java array creation.- Specified by:
get1D
in interfaceStitchingFunc
- 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 toget
(new double[] {x0,x1}, new double[] {v0,v1}). Provides better performance because it does not require Java array creation.- Specified by:
get2D
in interfaceStitchingFunc
- 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 toget
(new double[] {x0,x1,x2}, new double[] {v0,v1}). Provides better performance because it does not require Java array creation.- Specified by:
get3D
in interfaceStitchingFunc
- 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 toget
(new double[] {x0}, new double[] {v0,v1,v2}). Provides better performance because it does not require Java array creation.- Specified by:
get1D
in interfaceStitchingFunc
- 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 toget
(new double[] {x0,x1}, new double[] {v0,v1,v2}). Provides better performance because it does not require Java array creation.- Specified by:
get2D
in interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(new double[] {x0}, new double[] {v0,v1,v2,v3}). Provides better performance because it does not require Java array creation.- Specified by:
get1D
in interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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 toget
(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 interfaceStitchingFunc
- 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.
-