org.jscience.astronomy.solarsystem.coordinates.distorters
Class NeatDistorter

java.lang.Object
  extended by org.jscience.astronomy.solarsystem.coordinates.Transformer
      extended by org.jscience.astronomy.solarsystem.coordinates.Distorter
          extended by org.jscience.astronomy.solarsystem.coordinates.distorters.NeatDistorter
All Implemented Interfaces:
Named

public class NeatDistorter
extends Distorter

This class implements the NEAT radial distortion.


Nested Class Summary
 class NeatDistorter.NeatInvDistorter
           
 
Constructor Summary
NeatDistorter(double x0, double y0, double scale)
           
 
Method Summary
 java.lang.String getDescription()
          What does this object do?
 java.lang.String getName()
          A name for this object
 Distorter inverse()
          Get the inverse of the transformation.
 boolean isInverse(Transformer test)
          Are these two transformations, inverses of each other?
 void transform(double[] in, double[] out)
          Convert a single point where the output vector is supplied.
 
Methods inherited from class org.jscience.astronomy.solarsystem.coordinates.Distorter
getInputDimension, getOutputDimension
 
Methods inherited from class org.jscience.astronomy.solarsystem.coordinates.Transformer
transform, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NeatDistorter

public NeatDistorter(double x0,
                     double y0,
                     double scale)
Method Detail

getName

public java.lang.String getName()
Description copied from class: Distorter
A name for this object

Specified by:
getName in interface Named
Overrides:
getName in class Distorter
Returns:
DOCUMENT ME!

getDescription

public java.lang.String getDescription()
Description copied from class: Distorter
What does this object do?

Overrides:
getDescription in class Distorter

inverse

public Distorter inverse()
Description copied from class: Transformer
Get the inverse of the transformation. If the order matters, then the inverse is to be applied after the original transformation. This is primarily an issue with Converters.

Specified by:
inverse in class Distorter

isInverse

public boolean isInverse(Transformer test)
Description copied from class: Transformer
Are these two transformations, inverses of each other? This method is used to optimize a series of transformations where transformations.

Specified by:
isInverse in class Transformer

transform

public void transform(double[] in,
                      double[] out)
Description copied from class: Transformer
Convert a single point where the output vector is supplied.

Specified by:
transform in class Transformer
Parameters:
in - The input vector.
out - The output vector, it may be the same as the input vector if the dimensionalities are the same. All transformers are expected to work with aliased inputs and output.