|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| 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,
java.lang.String identifier)
Construct a conversion info with all parameters set to 0; |
|
Helmert(CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
java.lang.String[] identifiers)
Construct a conversion info with all parameters set to 0; |
|
Helmert(CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
java.lang.String[] identifiers,
java.lang.String[] names,
java.lang.String[] versions,
java.lang.String[] descriptions,
java.lang.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,
java.lang.String identifier)
|
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
java.lang.String[] identifiers)
|
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
java.lang.String[] identifiers,
java.lang.String[] names,
java.lang.String[] versions,
java.lang.String[] descriptions,
java.lang.String[] areaOfUses)
|
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
java.lang.String identifier,
java.lang.String name,
java.lang.String version,
java.lang.String description,
java.lang.String areaOfUse)
|
|
| Method Summary | |
|---|---|
java.util.List<javax.vecmath.Point3d> |
doTransform(java.util.List<javax.vecmath.Point3d> srcPts)
Do a transformation, e.g. the incoming data will be transformed into other coordinates. |
boolean |
equals(java.lang.Object other)
|
javax.vecmath.Matrix4d |
getAsAffineTransform()
Returns an affine transformation also known as the "Helmert" transformation. |
java.lang.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()
|
java.lang.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 radians
public 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,
java.lang.String[] identifiers,
java.lang.String[] names,
java.lang.String[] versions,
java.lang.String[] descriptions,
java.lang.String[] areasOfUse)
sourceCRS - of this helmert transformationtargetCRS - of this helmert transformationidentifiers - names - versions - descriptions - areasOfUse -
public Helmert(CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
java.lang.String identifier)
sourceCRS - of this helmert transformationtargetCRS - of this helmert transformationidentifier -
public Helmert(CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
java.lang.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,
java.lang.String[] identifiers,
java.lang.String[] names,
java.lang.String[] versions,
java.lang.String[] descriptions,
java.lang.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,
java.lang.String identifier,
java.lang.String name,
java.lang.String version,
java.lang.String description,
java.lang.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,
java.lang.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,
java.lang.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()
S = 1 + ppm*1E-6
[ 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 to transform 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(java.lang.Object other)
equals in class Identifiablepublic java.lang.String toString()
TOWGS84[dx, dy, dz, ex, ey, ez, ppm].
toString in class Identifiablepublic int hashCode()
Combining the hash code(s) computed above: result = 37 * result + code;
hashCode in class java.lang.ObjectObject.hashCode()
public java.util.List<javax.vecmath.Point3d> doTransform(java.util.List<javax.vecmath.Point3d> srcPts)
throws TransformationException
Transformation
doTransform in class TransformationsrcPts - 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 java.lang.String getImplementationName()
getImplementationName in class Transformationpublic boolean isIdentity()
isIdentity in class Transformation
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| 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