org.esa.beam.framework.datamodel
Class GeoCodingMathTransform

java.lang.Object
  extended by org.geotools.referencing.wkt.Formattable
      extended by org.geotools.referencing.operation.transform.AbstractMathTransform
          extended by org.esa.beam.framework.datamodel.GeoCodingMathTransform
All Implemented Interfaces:
org.opengis.referencing.operation.MathTransform, org.opengis.referencing.operation.MathTransform2D

public class GeoCodingMathTransform
extends org.geotools.referencing.operation.transform.AbstractMathTransform
implements org.opengis.referencing.operation.MathTransform2D

A math transform which converts from grid (pixel) coordinates to geographical coordinates.

Since:
BEAM 4.6
Author:
Marco Peters, Norman Fomferra

Nested Class Summary
 
Nested classes/interfaces inherited from class org.geotools.referencing.operation.transform.AbstractMathTransform
org.geotools.referencing.operation.transform.AbstractMathTransform.Inverse
 
Field Summary
 
Fields inherited from class org.geotools.referencing.wkt.Formattable
SINGLE_LINE
 
Constructor Summary
GeoCodingMathTransform(GeoCoding geoCoding)
           
 
Method Summary
 boolean equals(Object o)
           
 org.opengis.parameter.ParameterDescriptorGroup getParameterDescriptors()
           
 int getSourceDimensions()
           
 int getTargetDimensions()
           
 int hashCode()
           
 org.opengis.referencing.operation.MathTransform2D inverse()
           
 void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
           
 
Methods inherited from class org.geotools.referencing.operation.transform.AbstractMathTransform
createTransformedShape, derivative, derivative, ensureNonNull, formatWKT, getName, getParameterValues, isIdentity, needCopy, rollLongitude, transform, transform, transform, transform, transform
 
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.operation.MathTransform2D
createTransformedShape, derivative, transform
 
Methods inherited from interface org.opengis.referencing.operation.MathTransform
derivative, isIdentity, toWKT, transform, transform, transform, transform
 

Constructor Detail

GeoCodingMathTransform

public GeoCodingMathTransform(GeoCoding geoCoding)
Method Detail

getParameterDescriptors

public org.opengis.parameter.ParameterDescriptorGroup getParameterDescriptors()
Overrides:
getParameterDescriptors in class org.geotools.referencing.operation.transform.AbstractMathTransform

getSourceDimensions

public int getSourceDimensions()
Specified by:
getSourceDimensions in interface org.opengis.referencing.operation.MathTransform
Specified by:
getSourceDimensions in class org.geotools.referencing.operation.transform.AbstractMathTransform

getTargetDimensions

public int getTargetDimensions()
Specified by:
getTargetDimensions in interface org.opengis.referencing.operation.MathTransform
Specified by:
getTargetDimensions in class org.geotools.referencing.operation.transform.AbstractMathTransform

inverse

public org.opengis.referencing.operation.MathTransform2D inverse()
                                                          throws org.opengis.referencing.operation.NoninvertibleTransformException
Specified by:
inverse in interface org.opengis.referencing.operation.MathTransform
Specified by:
inverse in interface org.opengis.referencing.operation.MathTransform2D
Overrides:
inverse in class org.geotools.referencing.operation.transform.AbstractMathTransform
Throws:
org.opengis.referencing.operation.NoninvertibleTransformException

transform

public void transform(double[] srcPts,
                      int srcOff,
                      double[] dstPts,
                      int dstOff,
                      int numPts)
               throws org.opengis.referencing.operation.TransformException
Specified by:
transform in interface org.opengis.referencing.operation.MathTransform
Throws:
org.opengis.referencing.operation.TransformException

equals

public boolean equals(Object o)
Overrides:
equals in class org.geotools.referencing.operation.transform.AbstractMathTransform

hashCode

public int hashCode()
Overrides:
hashCode in class org.geotools.referencing.operation.transform.AbstractMathTransform


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.