Class MathTransformProvider.Delegate

  extended byorg.geotools.referencing.operation.transform.MathTransformProxy
      extended byorg.geotools.referencing.operation.MathTransformProvider.Delegate
All Implemented Interfaces:
Enclosing class:

protected static final class MathTransformProvider.Delegate
extends MathTransformProxy

The result of a call to createMathTransform. This class encapsulates a reference to the originating provider as well as the created math transform. This information is needed when a provider delegates the work to an other provider according the parameter values. For example a generic instance of ProviderAffine may delegates the creation of an affine transform to an other instance with source and target dimensions matching the supplied parameters, because those dimensions determine the set of legal "elt_j_i" parameters.

Most math transform provider do not delegate their work to an other one, and consequently do not need this class.

Future Geotools version may extends this class for handling more information than just the transform creator. This class is more convenient than adding new methods right into MathTransformProvider, because it is sometime difficult for a provider to infer all the conditions prevaling when createMathTransform was executed. Furthermore, it avoid to pollute with methods unused for the vast majority of providers.

$Id: 17672 2006-01-19 00:25:55Z desruisseaux $
Martin Desruisseaux
See Also:
Serialized Form

Field Summary
 org.opengis.referencing.operation.OperationMethod method
          The provider for the transform.
Fields inherited from class org.geotools.referencing.operation.transform.MathTransformProxy
Constructor Summary
MathTransformProvider.Delegate(org.opengis.referencing.operation.MathTransform transform, org.opengis.referencing.operation.OperationMethod method)
          Encapsulates the math transform created by the specified provider.
Methods inherited from class org.geotools.referencing.operation.transform.MathTransformProxy
derivative, equals, getDimSource, getDimTarget, getSourceDimensions, getTargetDimensions, hashCode, inverse, isIdentity, toString, toWKT, transform, transform, transform
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Field Detail


public final org.opengis.referencing.operation.OperationMethod method
The provider for the transform.

Constructor Detail


public MathTransformProvider.Delegate(org.opengis.referencing.operation.MathTransform transform,
                                      org.opengis.referencing.operation.OperationMethod method)
Encapsulates the math transform created by the specified provider.

Copyright © GeoTools. All Rights Reserved.