|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.crs.Identifiable
org.deegree.crs.transformations.Transformation
org.deegree.crs.transformations.helmert.Helmert
public class Helmert
Parameters for a geographic transformation into another datum. 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.
Field Summary | |
---|---|
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, which is 1/3600 of a degree. |
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 | |
---|---|
Helmert(CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
String identifier)
Construct a conversion info with all parameters set to 0; |
|
Helmert(CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
String[] identifiers)
Construct a conversion info with all parameters set to 0; |
|
Helmert(CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
String[] identifiers,
String[] names,
String[] versions,
String[] descriptions,
String[] areasOfUse)
Construct a conversion info with all parameters set to 0; |
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
Identifiable identifiable)
|
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
Identifiable identifiable,
boolean inRadians)
|
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
String identifier)
|
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
String[] identifiers)
|
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
String[] identifiers,
String[] names,
String[] versions,
String[] descriptions,
String[] areaOfUses)
|
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
String identifier,
String name,
String version,
String description,
String areaOfUse)
|
Method Summary | |
---|---|
List<javax.vecmath.Point3d> |
doTransform(List<javax.vecmath.Point3d> srcPts)
Do a transformation, e.g. the incoming data will be transformed into other coordinates. |
boolean |
equals(Object other)
|
javax.vecmath.Matrix4d |
getAsAffineTransform()
Returns an affine transformation also known as the "Helmert" transformation. |
String |
getImplementationName()
|
int |
hashCode()
Implementation as proposed by Joshua Block in Effective Java (Addison-Wesley 2001), which supplies an even distribution and is relatively fast. |
boolean |
hasValues()
|
boolean |
isIdentity()
|
String |
toString()
Returns the Well Know Text (WKT) for this object. |
Methods inherited from class org.deegree.crs.transformations.Transformation |
---|
areInverse, createFromTo, doTransform, doTransform, getSourceCRS, getSourceDimension, getTargetCRS, getTargetDimension, getTransformationName, getTransformationPath, inverse, isInverseTransform, setSourceCRS |
Methods inherited from class org.deegree.crs.Identifiable |
---|
checkForNullObject, checkForNullObject, checkForNullObject, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getDescription, getDescriptions, getIdAndName, getIdentifier, getIdentifiers, getName, getNames, getVersion, getVersions, hasID |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public double dx
public double dy
public double dz
public double ex
public double ey
public double ez
public double ppm
Constructor Detail |
---|
public Helmert(double dx, double dy, double dz, double ex, double ey, double ez, double ppm, CoordinateSystem sourceCRS, CoordinateSystem targetCRS, Identifiable identifiable, boolean inRadians)
dx
- Bursa Wolf shift in meters.dy
- Bursa Wolf shift in meters.dz
- Bursa Wolf shift in meters.ex
- Bursa Wolf rotation in arc seconds or in radians (by setting the flag).ey
- Bursa Wolf rotation in arc seconds or in radians (by setting the flag).ez
- Bursa Wolf rotation in arc seconds or in radians (by setting the flag).ppm
- Bursa Wolf scaling in parts per million.sourceCRS
- of this helmert transformationtargetCRS
- of this helmert transformationidentifiable
- object containing all relevant id.inRadians
- true if the rotation parameters are in radianspublic Helmert(double dx, double dy, double dz, double ex, double ey, double ez, double ppm, CoordinateSystem sourceCRS, CoordinateSystem targetCRS, Identifiable identifiable)
dx
- Bursa Wolf shift in meters.dy
- Bursa Wolf shift in meters.dz
- Bursa Wolf shift in meters.ex
- Bursa Wolf rotation in arc seconds.ey
- Bursa Wolf rotation in arc seconds.ez
- Bursa Wolf rotation in arc seconds.ppm
- Bursa Wolf scaling in parts per million.sourceCRS
- of this helmert transformationtargetCRS
- of this helmert transformationidentifiable
- object containing all relevant id.public Helmert(CoordinateSystem sourceCRS, CoordinateSystem targetCRS, String[] identifiers, String[] names, String[] versions, String[] descriptions, String[] areasOfUse)
sourceCRS
- of this helmert transformationtargetCRS
- of this helmert transformationidentifiers
- names
- versions
- descriptions
- areasOfUse
- public Helmert(CoordinateSystem sourceCRS, CoordinateSystem targetCRS, String identifier)
sourceCRS
- of this helmert transformationtargetCRS
- of this helmert transformationidentifier
- public Helmert(CoordinateSystem sourceCRS, CoordinateSystem targetCRS, String[] identifiers)
sourceCRS
- of this helmert transformationtargetCRS
- of this helmert transformationidentifiers
- public Helmert(double dx, double dy, double dz, double ex, double ey, double ez, double ppm, CoordinateSystem sourceCRS, CoordinateSystem targetCRS, String[] identifiers, String[] names, String[] versions, String[] descriptions, String[] areaOfUses)
dx
- Bursa Wolf shift in meters.dy
- Bursa Wolf shift in meters.dz
- Bursa Wolf shift in meters.ex
- Bursa Wolf rotation in arc seconds.ey
- Bursa Wolf rotation in arc seconds.ez
- Bursa Wolf rotation in arc seconds.ppm
- Bursa Wolf scaling in parts per million.sourceCRS
- of this helmert transformationtargetCRS
- of this helmert transformationidentifiers
- names
- versions
- descriptions
- areaOfUses
- public Helmert(double dx, double dy, double dz, double ex, double ey, double ez, double ppm, CoordinateSystem sourceCRS, CoordinateSystem targetCRS, String identifier, String name, String version, String description, String areaOfUse)
dx
- Bursa Wolf shift in meters.dy
- Bursa Wolf shift in meters.dz
- Bursa Wolf shift in meters.ex
- Bursa Wolf rotation in arc seconds.ey
- Bursa Wolf rotation in arc seconds.ez
- Bursa Wolf rotation in arc seconds.ppm
- Bursa Wolf scaling in parts per million.sourceCRS
- of this helmert transformationtargetCRS
- of this helmert transformationidentifier
- name
- version
- description
- areaOfUse
- public Helmert(double dx, double dy, double dz, double ex, double ey, double ez, double ppm, CoordinateSystem sourceCRS, CoordinateSystem targetCRS, String[] identifiers)
dx
- Bursa Wolf shift in meters.dy
- Bursa Wolf shift in meters.dz
- Bursa Wolf shift in meters.ex
- Bursa Wolf rotation in arc seconds.ey
- Bursa Wolf rotation in arc seconds.ez
- Bursa Wolf rotation in arc seconds.ppm
- Bursa Wolf scaling in parts per million.sourceCRS
- of this helmert transformationtargetCRS
- of this helmert transformationidentifiers
- public Helmert(double dx, double dy, double dz, double ex, double ey, double ez, double ppm, CoordinateSystem sourceCRS, CoordinateSystem targetCRS, String identifier)
dx
- Bursa Wolf shift in meters.dy
- Bursa Wolf shift in meters.dz
- Bursa Wolf shift in meters.ex
- Bursa Wolf rotation in arc seconds.ey
- Bursa Wolf rotation in arc seconds.ez
- Bursa Wolf rotation in arc seconds.ppm
- Bursa Wolf scaling in parts per million.sourceCRS
- of this helmert transformationtargetCRS
- of this helmert transformationidentifier
- Method Detail |
---|
public javax.vecmath.Matrix4d getAsAffineTransform()
This affine transform can be applied to transformS = 1 +ppm
*1E-6 [ X ] [ S -ez
*S +ey
*Sdx
] [ X ] [ Y ] = [ +ez
*S S -ex
*Sdy
] [ Y ] [ Z ] [ -ey
*S +ex
*S Sdz
] [ Z ] [ 1 ] [ 0 0 0 1 ] [ 1 ]
geocentric
coordinates from one datum into
geocentric
coordinates of an other datum. see
http://www.posc.org/Epicentre.2_2/DataModel/ExamplesofUsage/eu_cs35.html for more information.
public boolean hasValues()
public boolean equals(Object other)
equals
in class Identifiable
public String toString()
TOWGS84[dx, dy, dz, ex, ey, ez, ppm]
.
toString
in class Identifiable
public int hashCode()
Combining the hash code(s) computed above: result = 37 * result + code;
hashCode
in class Object
Object.hashCode()
public List<javax.vecmath.Point3d> doTransform(List<javax.vecmath.Point3d> srcPts) throws TransformationException
Transformation
doTransform
in class Transformation
srcPts
- the points which must be transformed, expected are following values either, long_1, lat_1, height_1,
long_2, lat_2, height_2. or long_1, lat_1, long_2, lat_2
TransformationException
- if a transform could not be calculated.public String getImplementationName()
getImplementationName
in class Transformation
public boolean isIdentity()
isIdentity
in class Transformation
|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org