org.geotoolkit.referencing.operation.provider
Class WarpPolynomial
Object
FormattableObject
AbstractIdentifiedObject
DefaultOperationMethod
MathTransformProvider
WarpPolynomial
- All Implemented Interfaces:
- Serializable, Formattable, Deprecable, LenientComparable, IdentifiedObject, OperationMethod
@Immutable
public class WarpPolynomial
- extends MathTransformProvider
The provider for WarpTransform2D. This provider constructs a JAI
WarpPolynomial from a set of polynomial coefficients,
and wraps it in a WarpTransform2D object.
The following table summarizes the parameters recognized by this provider.
For a more detailed parameter list, see the PARAMETERS constant.
Operation name: WarpPolynomial
| Parameter name | Default value |
degree | 2 |
xCoeffs | |
yCoeffs | |
preScaleX | 1 |
preScaleY | 1 |
postScaleX | 1 |
postScaleY | 1 |
- Since:
- 2.1
- Version:
- 3.20
- Author:
- Martin Desruisseaux (IRD, Geomatys)
- See Also:
- Geotk coordinate operations matrix,
Serialized Form
- Module:
|
Constructor Summary |
WarpPolynomial()
Creates a provider for warp transforms. |
DEGREE
public static final ParameterDescriptor<Integer> DEGREE
- Deprecated. Invoke
PARAMETERS.descriptor(String) instead.- The operation parameter descriptor for the
"
degree" parameter value.
X_COEFFS
public static final ParameterDescriptor<float[]> X_COEFFS
- Deprecated. Invoke
PARAMETERS.descriptor(String) instead.- The operation parameter descriptor for the
"
xCoeffs" parameter value.
Y_COEFFS
public static final ParameterDescriptor<float[]> Y_COEFFS
- Deprecated. Invoke
PARAMETERS.descriptor(String) instead.- The operation parameter descriptor for the
"
yCoeffs" parameter value.
PRE_SCALE_X
public static final ParameterDescriptor<Float> PRE_SCALE_X
- Deprecated. Invoke
PARAMETERS.descriptor(String) instead.- The operation parameter descriptor for the
"
preScaleX" parameter value.
PRE_SCALE_Y
public static final ParameterDescriptor<Float> PRE_SCALE_Y
- Deprecated. Invoke
PARAMETERS.descriptor(String) instead.- The operation parameter descriptor for the
"
preScaleY" parameter value.
POST_SCALE_X
public static final ParameterDescriptor<Float> POST_SCALE_X
- Deprecated. Invoke
PARAMETERS.descriptor(String) instead.- The operation parameter descriptor for the
"
postScaleX" parameter value.
POST_SCALE_Y
public static final ParameterDescriptor<Float> POST_SCALE_Y
- Deprecated. Invoke
PARAMETERS.descriptor(String) instead.- The operation parameter descriptor for the
"
postScaleY" parameter value.
PARAMETERS
public static final ParameterDescriptorGroup PARAMETERS
- The group of all parameters expected by this coordinate operation.
The following table lists the operation names and the parameters recognized by Geotk:
| Name: | Geotk: | WarpPolynomial |
|
|
|
| Type: | Integer |
| Obligation: | mandatory |
| Value range: | [1…7] |
| Default value: | 2 |
|
|
|
| Type: | float[] |
| Obligation: | mandatory |
|
|
|
| Type: | float[] |
| Obligation: | mandatory |
|
|
|
| Type: | Float |
| Obligation: | optional |
| Value range: | (-∞ … ∞) |
| Default value: | 1 |
|
|
|
| Type: | Float |
| Obligation: | optional |
| Value range: | (-∞ … ∞) |
| Default value: | 1 |
|
|
|
| Type: | Float |
| Obligation: | optional |
| Value range: | (-∞ … ∞) |
| Default value: | 1 |
|
|
|
| Type: | Float |
| Obligation: | optional |
| Value range: | (-∞ … ∞) |
| Default value: | 1 |
|
WarpPolynomial
public WarpPolynomial()
- Creates a provider for warp transforms.
getOperationType
public Class<Transformation> getOperationType()
- Returns the operation type.
- Overrides:
getOperationType in class MathTransformProvider
- Returns:
- The GeoAPI interface implemented by this operation.
createMathTransform
protected MathTransform createMathTransform(ParameterValueGroup values)
throws ParameterNotFoundException
- Creates a warp transform from the specified group of parameter values.
- Specified by:
createMathTransform in class MathTransformProvider
- Parameters:
values - The group of parameter values.
- Returns:
- The created math transform.
- Throws:
ParameterNotFoundException - if a required parameter was not found.
Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.