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

org.deegree.model.csct.cs
Class WGS84ConversionInfo

java.lang.Object
  extended by org.deegree.model.csct.cs.WGS84ConversionInfo
All Implemented Interfaces:
Serializable, Cloneable

public class WGS84ConversionInfo
extends Object
implements Cloneable, 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, $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
Author:
OpenGIS (www.opengis.org), Martin Desruisseaux, last edited by: $Author: bezema $
See Also:
"org.opengis.cs.CS_WGS84ConversionInfo", Serialized Form

Field Summary
 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.
 
Constructor Summary
WGS84ConversionInfo()
          Construct a conversion info with all parameters set to 0.
 
Method Summary
 Object clone()
          Returns a copy of this object.
 boolean equals(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.
 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

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 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.

Returns:
an affine maps that can be used to define this Bursa Wolf transformation.

hashCode

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

Overrides:
hashCode in class Object
Returns:
a hash value for this object. This value need not remain consistent between different implementations of the same class.

clone

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

Overrides:
clone in class Object
Returns:
a copy of this object.

equals

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

Overrides:
equals in class Object
Parameters:
object -
Returns:

toString

public 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].

Overrides:
toString in class Object
Returns:
the Well Know Text (WKT) for this object.

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