InterpolatingMicrosphere
and MicrosphereProjectionInterpolator
instead.@Deprecated public class MicrosphereInterpolator extends Object implements MultivariateInterpolator
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BRIGHTNESS_EXPONENT
Deprecated.
Default exponent used the weights calculation.
|
static int |
DEFAULT_MICROSPHERE_ELEMENTS
Deprecated.
Default number of surface elements that composes the microsphere.
|
Constructor and Description |
---|
MicrosphereInterpolator()
Deprecated.
Create a microsphere interpolator with default settings.
|
MicrosphereInterpolator(int elements,
int exponent)
Deprecated.
Create a microsphere interpolator.
|
Modifier and Type | Method and Description |
---|---|
MultivariateFunction |
interpolate(double[][] xval,
double[] yval)
Deprecated.
Computes an interpolating function for the data set.
|
public static final int DEFAULT_MICROSPHERE_ELEMENTS
public static final int DEFAULT_BRIGHTNESS_EXPONENT
public MicrosphereInterpolator()
MicrosphereInterpolator(MicrosphereInterpolator.DEFAULT_MICROSPHERE_ELEMENTS,
MicrosphereInterpolator.DEFAULT_BRIGHTNESS_EXPONENT)
.public MicrosphereInterpolator(int elements, int exponent) throws NotPositiveException, NotStrictlyPositiveException
elements
- Number of surface elements of the microsphere.exponent
- Exponent used in the power law that computes the
weights (distance dimming factor) of the sample data.NotPositiveException
- if exponent < 0
.NotStrictlyPositiveException
- if elements <= 0
.public MultivariateFunction interpolate(double[][] xval, double[] yval) throws DimensionMismatchException, NoDataException, NullArgumentException
interpolate
in interface MultivariateInterpolator
xval
- the arguments for the interpolation points.
xval[i][0]
is the first component of interpolation point
i
, xval[i][1]
is the second component, and so on
until xval[i][d-1]
, the last component of that interpolation
point (where d
is thus the dimension of the space).yval
- the values for the interpolation pointsDimensionMismatchException
- when the array dimensions are not consistent.NoDataException
- if an array has zero-length.NullArgumentException
- if the arguments are null
.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.