public class GeocentricTranslation extends AbstractCoordinateOperation implements GeoTransformation, ParamBasedTransformation
GeocentricTranslation is a coordinate operation used to transform geocentric coordinates with a 3D translation defined by three parameters representing translation values along x axis, y axis and z axis.
In this operation, one assume that the axis of the ellipsoids are parallel, that the prime meridian is Greenwich, and that there is no scale difference between the source and target CoordinateReferenceSystem.
Equations of this transformation are :
precisionDEFAULT, LOCAL, UNKNOWN| Constructor and Description |
|---|
GeocentricTranslation(double tx,
double ty,
double tz)
Geocentric translation.
|
GeocentricTranslation(double tx,
double ty,
double tz,
double precision)
Geocentric translation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Returns true if o is equals to
this. |
int |
hashCode()
Returns the hash code for this GeocentricTranslation.
|
GeocentricTransformation |
inverse()
Creates the inverse CoordinateOperation.
|
boolean |
isIdentity() |
String |
toString()
Returns this Geocentric translation as a String.
|
String |
toWKT()
Returns this Geocentric translation as an OGC WKT String.
|
double[] |
transform(double[] coord)
Return a coordinates representing the same point as coord but in
another CoordinateReferenceSystem.
|
getPrecisionaddAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getComponent, getIdentifier, getName, getRemarks, getShortName, setIdentifier, setRemarks, setShortNameclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPrecisionaddAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getName, getRemarks, getShortName, setRemarks, setShortNamepublic GeocentricTranslation(double tx,
double ty,
double tz,
double precision)
Geocentric translation.
tx - translation parameter along x axis (meters)ty - translation parameter along y axis (meters)tz - translation parameter along z axis (meters)precision - mean precision of the geodetic transformationpublic GeocentricTranslation(double tx,
double ty,
double tz)
tx - translation parameter along x axis (meters)ty - translation parameter along y axis (meters)tz - translation parameter along z axis (meters)public double[] transform(double[] coord)
throws IllegalCoordinateException
Return a coordinates representing the same point as coord but in another CoordinateReferenceSystem.
Equations of this transformation are :
transform in interface CoordinateOperationtransform in class AbstractCoordinateOperationcoord - coordinate to transformIllegalCoordinateException - if coord is not
compatible with this CoordinateOperation.public GeocentricTransformation inverse()
inverse in interface CoordinateOperationinverse in interface GeocentricTransformationinverse in class AbstractCoordinateOperationpublic String toString()
toString in class IdentifiableComponentpublic String toWKT()
toWKT in interface GeoTransformationpublic boolean equals(Object o)
this.
GeocentricTranslations are equals if they both are identity, or
if all their parameters are equal.equals in class IdentifiableComponento - The object to compare this ProjectedCRS againstpublic int hashCode()
hashCode in class IdentifiableComponentpublic boolean isIdentity()
isIdentity in interface CoordinateOperationisIdentity in class AbstractCoordinateOperationCopyright © 2019 CNRS. All rights reserved.