org.deegree_impl.model.cs
Class WGS84ConversionInfo

java.lang.Object
  extended byorg.deegree_impl.model.cs.WGS84ConversionInfo
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class WGS84ConversionInfo
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Parameters for a geographic transformation into WGS84. The Bursa Wolf parameters should be applied to geocentric coordinates, where the X axis points towards the Greenwich Prime Meridian, the Y axis points East, and the Z axis points North.

Version:
1.00
Author:
OpenGIS (www.opengis.org), Martin Desruisseaux
See Also:
CS_WGS84ConversionInfo, Serialized Form

Field Summary
 java.lang.String areaOfUse
          Human readable text describing intended region of transformation.
 double dx
          Bursa Wolf shift in meters.
 double dy
          Bursa Wolf shift in meters.
 double dz
          Bursa Wolf shift in meters.
 double ex
          Bursa Wolf rotation in arc seconds.
 double ey
          Bursa Wolf rotation in arc seconds.
 double ez
          Bursa Wolf rotation in arc seconds.
 double ppm
          Bursa Wolf scaling in parts per million.
private static long serialVersionUID
          Serial number for interoperability with different versions.
 
Constructor Summary
WGS84ConversionInfo()
          Construct a conversion info with all parameters set to 0.
 
Method Summary
 java.lang.Object clone()
          Returns a copy of this object.
 boolean equals(java.lang.Object object)
          Compares the specified object with this object for equality.
 Matrix getAffineTransform()
          Returns an affine maps that can be used to define this Bursa Wolf transformation.
 int hashCode()
          Returns a hash value for this object.
 java.lang.String toString()
          Returns the Well Know Text (WKT) for this object.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial number for interoperability with different versions.

See Also:
Constant Field Values

dx

public double dx
Bursa Wolf shift in meters.


dy

public double dy
Bursa Wolf shift in meters.


dz

public double dz
Bursa Wolf shift in meters.


ex

public double ex
Bursa Wolf rotation in arc seconds.


ey

public double ey
Bursa Wolf rotation in arc seconds.


ez

public double ez
Bursa Wolf rotation in arc seconds.


ppm

public double ppm
Bursa Wolf scaling in parts per million.


areaOfUse

public java.lang.String areaOfUse
Human readable text describing intended region of transformation.

Constructor Detail

WGS84ConversionInfo

public WGS84ConversionInfo()
Construct a conversion info with all parameters set to 0.

Method Detail

getAffineTransform

public Matrix getAffineTransform()
Returns an affine maps that can be used to define this Bursa Wolf transformation. The formula is as follows:
 S = 1 + ppm/1000000

 [ X’ ]    [     S   -ez*S   +ey*S   dx ]  [ X ]
 [ Y’ ]  = [ +ez*S       S   -ex*S   dy ]  [ Y }
 [ Z’ ]    [ -ey*S   +ex*S       S   dz ]  [ Z ]
 [ 1  ]    [     0       0       0    1 ]  [ 1 ]
 
This affine transform can be applied on geocentric coordinates.


hashCode

public int hashCode()
Returns a hash value for this object. This value need not remain consistent between different implementations of the same class.


clone

public java.lang.Object clone()
Returns a copy of this object.


equals

public boolean equals(java.lang.Object object)
Compares the specified object with this object for equality.


toString

public java.lang.String toString()
Returns the Well Know Text (WKT) for this object. The WKT is part of OpenGIS's specification and looks like TOWGS84[dx, dy, dz, ex, ey, ez, ppm].