| java.lang.Object org.geotools.referencing.wkt.Formattable org.geotools.referencing.datum.BursaWolfParameters
BursaWolfParameters | public class BursaWolfParameters extends Formattable implements Cloneable,Serializable(Code) | | Parameters for a geographic transformation between two 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.
The "Bursa-Wolf" formula is expressed in matrix form with 7 parameters:
since: 2.1 version: $Id: BursaWolfParameters.java 20874 2006-08-07 10:00:01Z jgarnett $ author: Martin Desruisseaux |
Field Summary | |
public double | dx Bursa Wolf shift in meters. | public double | dy Bursa Wolf shift in meters. | public double | dz Bursa Wolf shift in meters. | public double | ex Bursa Wolf rotation in arc seconds. | public double | ey Bursa Wolf rotation in arc seconds. | public double | ez Bursa Wolf rotation in arc seconds. | public double | ppm Bursa Wolf scaling in parts per million. | final public GeodeticDatum | targetDatum The target datum for this parameters. |
Constructor Summary | |
public | BursaWolfParameters(GeodeticDatum target) Constructs a transformation info with all parameters set to 0. |
Method Summary | |
public Object | clone() Returns a copy of this object. | public boolean | equals(Object object) Compares the specified object with this object for equality. | protected String | formatWKT(Formatter formatter) Format the inner part of a
Well
Known Text (WKT) element. | public XMatrix | getAffineTransform() Returns an affine transform that can be used to define this
Bursa Wolf transformation. | public int | hashCode() Returns a hash value for this object.
The hash code value. | public boolean | isIdentity() Returns
true if this Bursa Wolf parameters performs no operation. | public boolean | isTranslation() Returns
true if this Bursa Wolf parameters contains only translation terms. | public void | setAffineTransform(Matrix matrix, double eps) Sets transformation info from the specified matrix, which must be affine.
In addition, the matrix minus the last row and last column must be
antisymmetric.
Parameters: matrix - The matrix to fit as a Bursa-Wolf construct. Parameters: eps - The tolerance error for the antisymmetric matrix test. |
dx | public double dx(Code) | | Bursa Wolf shift in meters.
|
dy | public double dy(Code) | | Bursa Wolf shift in meters.
|
dz | public double dz(Code) | | Bursa Wolf shift in meters.
|
ex | public double ex(Code) | | Bursa Wolf rotation in arc seconds.
|
ey | public double ey(Code) | | Bursa Wolf rotation in arc seconds.
|
ez | public double ez(Code) | | Bursa Wolf rotation in arc seconds.
|
ppm | public double ppm(Code) | | Bursa Wolf scaling in parts per million.
|
targetDatum | final public GeodeticDatum targetDatum(Code) | | The target datum for this parameters.
|
BursaWolfParameters | public BursaWolfParameters(GeodeticDatum target)(Code) | | Constructs a transformation info with all parameters set to 0.
Parameters: target - The target datum for this parameters. |
clone | public Object clone()(Code) | | Returns a copy of this object.
|
equals | public boolean equals(Object object)(Code) | | Compares the specified object with this object for equality.
|
formatWKT | protected String formatWKT(Formatter formatter)(Code) | | Format the inner part of a
Well
Known Text (WKT) element. The WKT contains the parameters in translation,
rotation, scale order, as in
TOWGS84[
,
,
,
,
,
,
] .
Parameters: formatter - The formatter to use. The WKT element name. |
hashCode | public int hashCode()(Code) | | Returns a hash value for this object.
The hash code value. This value doesn't need to be the samein past or future versions of this class. |
isIdentity | public boolean isIdentity()(Code) | | Returns
true if this Bursa Wolf parameters performs no operation.
This is true when all parameters are set to zero.
|
isTranslation | public boolean isTranslation()(Code) | | Returns
true if this Bursa Wolf parameters contains only translation terms.
|
setAffineTransform | public void setAffineTransform(Matrix matrix, double eps) throws IllegalArgumentException(Code) | | Sets transformation info from the specified matrix, which must be affine.
In addition, the matrix minus the last row and last column must be
antisymmetric.
Parameters: matrix - The matrix to fit as a Bursa-Wolf construct. Parameters: eps - The tolerance error for the antisymmetric matrix test. Should be a smallnumber like 1E-4 . throws: IllegalArgumentException - if the specified matrix doesn't meet the conditions. since: 2.2 |
|
|