org.geotools.referencing.operation.transform
Class GeocentricTranslation

java.lang.Object
  extended byorg.geotools.referencing.wkt.Formattable
      extended byorg.geotools.referencing.operation.transform.AbstractMathTransform
          extended byorg.geotools.referencing.operation.transform.ProjectiveTransform
              extended byorg.geotools.referencing.operation.transform.GeocentricTranslation
All Implemented Interfaces:
LinearTransform, org.opengis.referencing.operation.MathTransform, java.io.Serializable

public class GeocentricTranslation
extends ProjectiveTransform

An affine transform applied on geocentric coordinates. While "geocentric translation" is a little bit more restrictive name, it describes the part which is common to all instances of this class. A rotation may also be performed in addition of the translation, but the rotation sign is operation-dependent (EPSG 9606 and 9607 have opposite sign). This transform is used for the following operations:

EPSG name EPSG code
Geocentric translations 9603
Position Vector 7-param. transformation 9606
Coordinate Frame rotation 9607

The conversion between geographic and geocentric coordinates is usually not part of this transform. However, the Geotools implementation of the provider accepts the following extensions:

Since:
2.2
Version:
$Id: GeocentricTranslation.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux
See Also:
Serialized Form

Nested Class Summary
static class GeocentricTranslation.Provider
          Base class for geocentric affine transform providers.
static class GeocentricTranslation.ProviderFrameRotation
          Geocentric affine transform provider for "Coordinate Frame rotation".
static class GeocentricTranslation.ProviderSevenParam
          Base class for geocentric affine transform providers with rotation terms.
 
Nested classes inherited from class org.geotools.referencing.operation.transform.ProjectiveTransform
ProjectiveTransform.ProviderAffine, ProjectiveTransform.ProviderLongitudeRotation
 
Nested classes inherited from class org.geotools.referencing.operation.transform.AbstractMathTransform
AbstractMathTransform.Inverse
 
Constructor Summary
GeocentricTranslation(BursaWolfParameters parameters)
          Creates a new geocentric affine transform.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compares the specified object with this math transform for equality.
 org.opengis.parameter.ParameterDescriptorGroup getParameterDescriptors()
          Returns the parameter descriptors for this math transform.
 org.opengis.parameter.ParameterValueGroup getParameterValues()
          Returns the parameters for this math transform.
 int hashCode()
          Returns a hash value for this transform.
 
Methods inherited from class org.geotools.referencing.operation.transform.ProjectiveTransform
create, create, createSelectMatrix, derivative, derivative, getMatrix, getSourceDimensions, getTargetDimensions, inverse, isIdentity, transform, transform
 
Methods inherited from class org.geotools.referencing.operation.transform.AbstractMathTransform
createTransformedShape, ensureNonNull, formatWKT, getDimSource, getDimTarget, needCopy, rollLongitude, transform, transform
 
Methods inherited from class org.geotools.referencing.wkt.Formattable
toString, toWKT, toWKT, toWKT
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.referencing.operation.MathTransform
toWKT, transform
 

Constructor Detail

GeocentricTranslation

public GeocentricTranslation(BursaWolfParameters parameters)
Creates a new geocentric affine transform. If the parameters don't contain rotation terms, then this transform will be of kind "Geocentric translations". Otherwise, it will be of kind "Position Vector 7-param. transformation".

Method Detail

getParameterDescriptors

public org.opengis.parameter.ParameterDescriptorGroup getParameterDescriptors()
Returns the parameter descriptors for this math transform.

Overrides:
getParameterDescriptors in class ProjectiveTransform

getParameterValues

public org.opengis.parameter.ParameterValueGroup getParameterValues()
Returns the parameters for this math transform.

Overrides:
getParameterValues in class ProjectiveTransform
Returns:
A copy of the parameter values for this math transform.

hashCode

public int hashCode()
Returns a hash value for this transform. This value need not remain consistent between different implementations of the same class.

Overrides:
hashCode in class ProjectiveTransform

equals

public boolean equals(java.lang.Object object)
Compares the specified object with this math transform for equality.

Overrides:
equals in class ProjectiveTransform


Copyright © GeoTools. All Rights Reserved.