|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.cs.CRSIdentifiable org.deegree.cs.transformations.Transformation org.deegree.cs.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(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
ICRS sourceCRS,
ICRS targetCRS,
CRSCodeType code)
|
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
ICRS sourceCRS,
ICRS targetCRS,
CRSCodeType[] codes)
|
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
ICRS sourceCRS,
ICRS targetCRS,
CRSCodeType[] codes,
String[] names,
String[] versions,
String[] descriptions,
String[] areaOfUses)
|
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
ICRS sourceCRS,
ICRS targetCRS,
CRSCodeType code,
String name,
String version,
String description,
String areaOfUse)
|
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
ICRS sourceCRS,
ICRS targetCRS,
CRSResource identifiable)
|
|
Helmert(double dx,
double dy,
double dz,
double ex,
double ey,
double ez,
double ppm,
ICRS sourceCRS,
ICRS targetCRS,
CRSResource identifiable,
boolean inRadians)
|
|
Helmert(ICRS sourceCRS,
CRSCodeType[] codes)
Construct a conversion info with all parameters set to 0, the target crs is GeographicCRS.WGS84 |
|
Helmert(ICRS sourceCRS,
ICRS targetCRS,
CRSCodeType code)
Construct a conversion info with all parameters set to 0; |
|
Helmert(ICRS sourceCRS,
ICRS targetCRS,
CRSCodeType[] codes)
Construct a conversion info with all parameters set to 0; |
|
Helmert(ICRS sourceCRS,
ICRS targetCRS,
CRSCodeType[] codes,
String[] names,
String[] versions,
String[] descriptions,
String[] areasOfUse)
Construct a conversion info with all parameters set to 0; |
Method Summary | |
---|---|
boolean |
areRotationsInRad()
|
static Transformation |
createAxisAllignedTransformedHelmertTransformation(Helmert transform)
|
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.cs.transformations.Transformation |
---|
areInverse, canTransform, contains, copyTransformation, createFromTo, doTransform, doTransform, equalOnCRS, getSourceCRS, getSourceDimension, getTargetCRS, getTargetDimension, getTransformationName, getTransformationPath, inverse, isInverseTransform, setSourceCRS |
Methods inherited from class org.deegree.cs.CRSIdentifiable |
---|
addAreaOfUse, addName, checkForNullObject, checkForNullObject, checkForNullObject, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getId, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion |
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, ICRS sourceCRS, ICRS targetCRS, CRSResource 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, ICRS sourceCRS, ICRS targetCRS, CRSResource 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(ICRS sourceCRS, ICRS targetCRS, CRSCodeType[] codes, String[] names, String[] versions, String[] descriptions, String[] areasOfUse)
sourceCRS
- of this helmert transformationtargetCRS
- of this helmert transformationcodes
- names
- versions
- descriptions
- areasOfUse
- public Helmert(ICRS sourceCRS, ICRS targetCRS, CRSCodeType code)
sourceCRS
- of this helmert transformationtargetCRS
- of this helmert transformationcode
- public Helmert(ICRS sourceCRS, ICRS targetCRS, CRSCodeType[] codes)
sourceCRS
- of this helmert transformationtargetCRS
- of this helmert transformationcodes
- public Helmert(ICRS sourceCRS, CRSCodeType[] codes)
GeographicCRS.WGS84
sourceCRS
- of this helmert transformationcodes
- public Helmert(double dx, double dy, double dz, double ex, double ey, double ez, double ppm, ICRS sourceCRS, ICRS targetCRS, CRSCodeType[] codes, 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 transformationcodes
- names
- versions
- descriptions
- areaOfUses
- public Helmert(double dx, double dy, double dz, double ex, double ey, double ez, double ppm, ICRS sourceCRS, ICRS targetCRS, CRSCodeType code, 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 transformationcode
- name
- version
- description
- areaOfUse
- public Helmert(double dx, double dy, double dz, double ex, double ey, double ez, double ppm, ICRS sourceCRS, ICRS targetCRS, CRSCodeType[] codes)
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 transformationcodes
- public Helmert(double dx, double dy, double dz, double ex, double ey, double ez, double ppm, ICRS sourceCRS, ICRS targetCRS, CRSCodeType code)
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 transformationcode
- 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 Transformation
public String toString()
TOWGS84[dx, dy, dz, ex, ey, ez, ppm]
.
toString
in class CRSIdentifiable
public int hashCode()
Combining the hash code(s) computed above: result = 37 * result + code;
hashCode
in class CRSIdentifiable
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
public boolean areRotationsInRad()
public static Transformation createAxisAllignedTransformedHelmertTransformation(Helmert transform)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |