public static final class ProjectiveTransform.ProviderAffine extends MathTransformProvider
"Affine"
. The default matrix size is 3×3.
Note that affine transform is a special case of projective transform.
MathTransformProvider.Delegate
sourceDimensions, targetDimensions
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
SINGLE_LINE
FORMULA_KEY
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description |
---|
ProviderAffine()
Creates a provider for affine transform with a default matrix size.
|
Modifier and Type | Method and Description |
---|---|
protected MathTransform |
createMathTransform(ParameterValueGroup values)
Creates a projective transform from the specified group of parameter values.
|
Class<Conversion> |
getOperationType()
Returns the operation type.
|
static ProjectiveTransform.ProviderAffine |
getProvider(int sourceDimensions,
int targetDimensions)
Returns the operation method for the specified source and target dimensions.
|
createDescriptor, createDescriptorGroup, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, getParameter, intValue, stringValue, toMap, value
checkDimensions, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCode
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
getAlias, getIdentifiers, getName, getRemarks, toWKT
public ProviderAffine()
public Class<Conversion> getOperationType()
getOperationType
in class MathTransformProvider
protected MathTransform createMathTransform(ParameterValueGroup values) throws ParameterNotFoundException
createMathTransform
in class MathTransformProvider
values
- The group of parameter values.ParameterNotFoundException
- if a required parameter was not found.MathTransformProvider.Delegate
public static ProjectiveTransform.ProviderAffine getProvider(int sourceDimensions, int targetDimensions)
sourceDimensions
- The number of source dimensions.targetDimensions
- The number of target dimensions.Copyright © 1996–2019 Geotools. All rights reserved.