protected static final class MathTransformProvider.Delegate extends MathTransformProxy
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
ProviderAffinemay delegates the creation of an affine transform to an other
ProviderAffineinstance with source and target dimensions matching the supplied parameters, because those dimensions determine the set of legal
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
MathTransformProvider with methods unused
for the vast majority of providers.
|Modifier and Type||Field and Description|
The provider for the transform.
|Constructor and Description|
Encapsulates the math transform created by the specified provider.
derivative, equals, getSourceDimensions, getTargetDimensions, hashCode, inverse, isIdentity, toString, toWKT, transform, transform, transform, transform, transform
public MathTransformProvider.Delegate(MathTransform transform, OperationMethod method)
transform- The math transform created by provider.
method- The provider, typically as an instance of
Copyright © 1996-2014 Geotools. All Rights Reserved.