org.geotools.ct
Interface MathTransform1D

All Superinterfaces:
MathTransform

Deprecated. Replaced by MathTransform1D in the org.opengis.referencing.operation package.

public interface MathTransform1D
extends MathTransform

Transforms one-dimensional coordinate points. CoordinateTransformation.getMathTransform() may returns instance of this interface when source and destination coordinate systems are both one dimensional. MathTransform1D extends MathTransform by adding a simple method transforming a value without the overhead of creating data array.

Version:
$Id: MathTransform1D.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux

Field Summary
static MathTransform1D IDENTITY
          Deprecated. The one dimensional identity transform.
 
Method Summary
 double derivative(double value)
          Deprecated. Gets the derivative of this function at a value.
 double transform(double value)
          Deprecated. Transforms the specified value.
 
Methods inherited from interface org.geotools.ct.MathTransform
derivative, getDimSource, getDimTarget, inverse, isIdentity, transform, transform, transform
 

Field Detail

IDENTITY

public static final MathTransform1D IDENTITY
Deprecated. 
The one dimensional identity transform.

Method Detail

transform

public double transform(double value)
                 throws org.opengis.referencing.operation.TransformException
Deprecated. 
Transforms the specified value.

Parameters:
value - The value to transform.
Returns:
the transformed value.
Throws:
org.opengis.referencing.operation.TransformException - if the value can't be transformed.

derivative

public double derivative(double value)
                  throws org.opengis.referencing.operation.TransformException
Deprecated. 
Gets the derivative of this function at a value. The derivative is the 1×1 matrix of the non-translating portion of the approximate affine map at the value.

Parameters:
value - The value where to evaluate the derivative.
Returns:
The derivative at the specified point.
Throws:
org.opengis.referencing.operation.TransformException - if the derivative can't be evaluated at the specified point.


Copyright © GeoTools. All Rights Reserved.