deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.model.csct.ct
Class AbridgedMolodenskiTransform

java.lang.Object
  extended by org.deegree.model.csct.ct.AbstractMathTransform
      extended by org.deegree.model.csct.ct.AbridgedMolodenskiTransform
All Implemented Interfaces:
Serializable, MathTransform

 class AbridgedMolodenskiTransform
extends AbstractMathTransform
implements Serializable

Transforms a three dimensional geographic points using abridged versions of formulas derived by Molodenski.

Version:
1.00
Author:
OpenGIS (www.opengis.org), Martin Desruisseaux

Nested Class Summary
(package private) static class AbridgedMolodenskiTransform.Provider
          The provider for AbridgedMolodenskiTransform.
 
Nested classes/interfaces inherited from class org.deegree.model.csct.ct.AbstractMathTransform
AbstractMathTransform.Inverse
 
Constructor Summary
protected AbridgedMolodenskiTransform(HorizontalDatum source, HorizontalDatum target)
          Construct a transform.
 
Method Summary
 boolean equals(Object object)
          Compares the specified object with this math transform for equality.
 int getDimSource()
          Gets the dimension of input points, which is 3.
 int getDimTarget()
          Gets the dimension of output points, which is the same than getDimSource().
 int hashCode()
          Returns a hash value for this transform.
 boolean isIdentity()
          Tests whether this transform does not move any points.
 String toString()
          Returns the WKT for this math transform.
 void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
          Transforms a list of coordinate point ordinal values.
 void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
          Transforms a list of coordinate point ordinal values.
 
Methods inherited from class org.deegree.model.csct.ct.AbstractMathTransform
addParameter, addParameter, createTransformedShape, createTransformedShape, derivative, derivative, getName, inverse, paramMT, transform, transform
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbridgedMolodenskiTransform

protected AbridgedMolodenskiTransform(HorizontalDatum source,
                                      HorizontalDatum target)
Construct a transform.

Method Detail

transform

public void transform(double[] srcPts,
                      int srcOff,
                      double[] dstPts,
                      int dstOff,
                      int numPts)
Transforms a list of coordinate point ordinal values.

Specified by:
transform in interface MathTransform
Parameters:
srcPts - the array containing the source point coordinates.
srcOff - the offset to the first point to be transformed in the source array.
dstPts - the array into which the transformed point coordinates are returned. May be the same than srcPts.
dstOff - the offset to the location of the first transformed point that is stored in the destination array.
numPts - the number of point objects to be transformed.

transform

public void transform(float[] srcPts,
                      int srcOff,
                      float[] dstPts,
                      int dstOff,
                      int numPts)
Transforms a list of coordinate point ordinal values.

Specified by:
transform in interface MathTransform
Overrides:
transform in class AbstractMathTransform
Parameters:
srcPts - the array containing the source point coordinates.
srcOff - the offset to the first point to be transformed in the source array.
dstPts - the array into which the transformed point coordinates are returned. May be the same than srcPts.
dstOff - the offset to the location of the first transformed point that is stored in the destination array.
numPts - the number of point objects to be transformed.

getDimSource

public int getDimSource()
Gets the dimension of input points, which is 3.

Specified by:
getDimSource in interface MathTransform
Returns:
the dimension of input points.
See Also:
"org.opengis.ct.CT_MathTransform#getDimSource()"

getDimTarget

public final int getDimTarget()
Gets the dimension of output points, which is the same than getDimSource().

Specified by:
getDimTarget in interface MathTransform
Returns:
the dimension of output points.
See Also:
"org.opengis.ct.CT_MathTransform#getDimTarget()"

isIdentity

public final boolean isIdentity()
Tests whether this transform does not move any points. This method returns always false.

Specified by:
isIdentity in interface MathTransform
Returns:
true if this MathTransform is an identity transform; false otherwise.

hashCode

public final int hashCode()
Returns a hash value for this transform.

Overrides:
hashCode in class AbstractMathTransform

equals

public final boolean equals(Object object)
Compares the specified object with this math transform for equality.

Overrides:
equals in class AbstractMathTransform

toString

public final String toString()
Returns the WKT for this math transform.

Overrides:
toString in class AbstractMathTransform

deegree 2.1 (2007/11/08 09:57 build-328-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net