org.geotools.referencing.operation.transform
Class ProjectiveTransform.ProviderAffine
Object
Formattable
AbstractIdentifiedObject
DefaultOperationMethod
MathTransformProvider
ProjectiveTransform.ProviderAffine
- All Implemented Interfaces:
- Serializable, IdentifiedObject, OperationMethod
- Enclosing class:
- ProjectiveTransform
public static final class ProjectiveTransform.ProviderAffine
- extends MathTransformProvider
The provider for the "Affine general parametric transformation" (EPSG 9624).
The OGC's name is "Affine"
. The default matrix size is
3×3.
Note that affine transform is a special case of projective transform.
- Author:
- Martin Desruisseaux (IRD)
- See Also:
- Serialized Form
Methods inherited from class AbstractIdentifiedObject |
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches |
ProjectiveTransform.ProviderAffine
public ProjectiveTransform.ProviderAffine()
- 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.- See Also:
MathTransformProvider.Delegate
getProvider
public static ProjectiveTransform.ProviderAffine getProvider(int sourceDimensions,
int targetDimensions)
- Returns the operation method for the specified source and target dimensions.
This method provides different methods for different matrix sizes.
- Parameters:
sourceDimensions
- The number of source dimensions.targetDimensions
- The number of target dimensions.
- Returns:
- The provider for transforms of the given source and target dimensions.
Copyright © 1996-2010 Geotools. All Rights Reserved.