|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ImageFunction is a common interface for vector-valued functions which are to be evaluated at positions in the X-Y coordinate system. At each position the value of such a function may contain one or more elements each of which may be complex.
| Method Summary | |
void |
getElements(double startX,
double startY,
double deltaX,
double deltaY,
int countX,
int countY,
int element,
double[] real,
double[] imag)
Returns all values of a given element for a specified set of coordinates. |
void |
getElements(float startX,
float startY,
float deltaX,
float deltaY,
int countX,
int countY,
int element,
float[] real,
float[] imag)
Returns all values of a given element for a specified set of coordinates. |
int |
getNumElements()
Returns the number of elements per value at each position. |
boolean |
isComplex()
Returns whether or not each value's elements are complex. |
| Method Detail |
public boolean isComplex()
public int getNumElements()
public void getElements(float startX,
float startY,
float deltaX,
float deltaY,
int countX,
int countY,
int element,
float[] real,
float[] imag)
startX - The X coordinate of the upper left location to evaluate.startY - The Y coordinate of the upper left location to evaluate.deltaX - The horizontal increment.deltaY - The vertical increment.countX - The number of points in the horizontal direction.countY - The number of points in the vertical direction.real - A pre-allocated float array of length at least countX*countY
in which the real parts of all elements will be returned.imag - A pre-allocated float array of length at least countX*countY
in which the imaginary parts of all elements will be returned; may be
null for real data, i.e., when isComplex() returns false.
public void getElements(double startX,
double startY,
double deltaX,
double deltaY,
int countX,
int countY,
int element,
double[] real,
double[] imag)
startX - The X coordinate of the upper left location to evaluate.startY - The Y coordinate of the upper left location to evaluate.deltaX - The horizontal increment.deltaY - The vertical increment.countX - The number of points in the horizontal direction.countY - The number of points in the vertical direction.real - A pre-allocated double array of length at least
countX*countY in which the real parts of all elements will be returned.imag - A pre-allocated double array of length at least
countX*countY in which the imaginary parts of all elements will be
returned; may be null for real data, i.e., when
isComplex() returns false.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||