org.geotools.referencing.operation.transform
Class ProjectiveTransform.ProviderAffine

java.lang.Object
  extended by org.geotools.referencing.wkt.Formattable
      extended by org.geotools.referencing.AbstractIdentifiedObject
          extended by org.geotools.referencing.operation.DefaultOperationMethod
              extended by org.geotools.referencing.operation.MathTransformProvider
                  extended by org.geotools.referencing.operation.transform.ProjectiveTransform.ProviderAffine
All Implemented Interfaces:
java.io.Serializable, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.operation.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.

Version:
$Id: ProjectiveTransform.java 30760 2008-06-18 14:28:24Z desruisseaux $
Author:
Martin Desruisseaux (IRD)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.geotools.referencing.operation.MathTransformProvider
MathTransformProvider.Delegate
 
Field Summary
 
Fields inherited from class org.geotools.referencing.operation.DefaultOperationMethod
sourceDimensions, targetDimensions
 
Fields inherited from class org.geotools.referencing.AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
 
Fields inherited from class org.geotools.referencing.wkt.Formattable
SINGLE_LINE
 
Fields inherited from interface org.opengis.referencing.operation.OperationMethod
FORMULA_KEY
 
Fields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
ProjectiveTransform.ProviderAffine()
          Creates a provider for affine transform with a default matrix size.
 
Method Summary
protected  org.opengis.referencing.operation.MathTransform createMathTransform(org.opengis.parameter.ParameterValueGroup values)
          Creates a projective transform from the specified group of parameter values.
 java.lang.Class<org.opengis.referencing.operation.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.
 
Methods inherited from class org.geotools.referencing.operation.MathTransformProvider
createDescriptor, createDescriptorGroup, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, getParameter, intValue, stringValue, value
 
Methods inherited from class org.geotools.referencing.operation.DefaultOperationMethod
checkDimensions, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCode
 
Methods inherited from class org.geotools.referencing.AbstractIdentifiedObject
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
 
Methods inherited from class org.geotools.referencing.wkt.Formattable
cleanupThreadLocals, toString, toWKT, toWKT, toWKT
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
 

Constructor Detail

ProjectiveTransform.ProviderAffine

public ProjectiveTransform.ProviderAffine()
Creates a provider for affine transform with a default matrix size.

Method Detail

getOperationType

public java.lang.Class<org.opengis.referencing.operation.Conversion> getOperationType()
Returns the operation type.

Overrides:
getOperationType in class MathTransformProvider
Returns:
The GeoAPI interface implemented by this operation.

createMathTransform

protected org.opengis.referencing.operation.MathTransform createMathTransform(org.opengis.parameter.ParameterValueGroup values)
                                                                       throws org.opengis.parameter.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:
org.opengis.parameter.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.