org.geotoolkit.referencing.operation.provider
Class Affine
Object
FormattableObject
AbstractIdentifiedObject
DefaultOperationMethod
MathTransformProvider
Affine
- All Implemented Interfaces:
- Serializable, Formattable, LenientComparable, IdentifiedObject, OperationMethod
@Immutable
public class Affine
- extends MathTransformProvider
The provider for "Affine general parametric transformation" (EPSG:9624).
This is a special case of projective transforms. The OGC's name is "Affine". The
default matrix size is
3×3.
- Since:
- 2.0
- Version:
- 3.00
- Author:
- Martin Desruisseaux (IRD)
- See Also:
ProjectiveTransform,
AffineTransform2D,
LinearTransform1D,
Serialized Form
- Module:
|
Constructor Summary |
Affine()
Creates a provider for affine transform with a default matrix size. |
| Methods inherited from class AbstractIdentifiedObject |
equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, hashCode, nameMatches, nameMatches, nameMatches |
PARAMETERS
public static final ParameterDescriptorGroup PARAMETERS
- The parameters group.
- TODO:
- We should register EPSG parameter identifiers (A0, A1, A2, B0, B1, B2) as well.
Affine
public Affine()
- Creates a provider for affine transform with a default matrix size.
getOperationType
public Class<Conversion> 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 projective 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.
getProvider
public static Affine getProvider(int sourceDimension,
int targetDimension)
- Returns the operation method for the specified source and target dimensions.
This method provides different methods for different matrix sizes.
- Parameters:
sourceDimension - The number of source dimensions.targetDimension - The number of target dimensions.
- Returns:
- The provider for transforms of the given source and target dimensions.
Copyright © 2009-2011 Geotoolkit.org. All Rights Reserved.