Class GeocentricTranslation
Object
Formattable
AbstractMathTransform
ProjectiveTransform
GeocentricTranslation
- All Implemented Interfaces:
- Serializable,- MathTransform,- LinearTransform
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:
- If "src_semi_major"and"src_semi_minor"parameters are provided, then a"Ellipsoid_To_Geocentric"transform is concatenated before this transform.
- If "tgt_semi_major"and"tgt_semi_minor"parameters are provided, then a"Geocentric_To_Ellipsoid"transform is concatenated after this transform.
- Since:
- 2.2
- Author:
- Martin Desruisseaux (IRD)
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classBase class for geocentric affine transform providers.static classGeocentric affine transform provider for "Coordinate Frame rotation".static classBase class for geocentric affine transform providers with rotation terms.Nested classes/interfaces inherited from class ProjectiveTransformProjectiveTransform.ProviderAffine, ProjectiveTransform.ProviderLongitudeRotationNested classes/interfaces inherited from class AbstractMathTransformAbstractMathTransform.Inverse
- 
Field SummaryFields inherited from class FormattableSINGLE_LINE
- 
Constructor SummaryConstructorsConstructorDescriptionGeocentricTranslation(BursaWolfParameters parameters) Creates a new geocentric affine transform.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanCompares the specified object with this math transform for equality.Returns the parameter descriptors for this math transform.Returns the parameters for this math transform.inthashCode()Returns a hash value for this transform.Methods inherited from class ProjectiveTransformcreate, create, createScale, createSelectMatrix, createTranslation, derivative, derivative, getMatrix, getSourceDimensions, getTargetDimensions, inverse, isIdentity, isIdentity, transform, transformMethods inherited from class AbstractMathTransformcreateTransformedShape, ensureNonNull, formatWKT, getName, needCopy, normalizeAngle, rollLongitude, transform, transform, transform, transformMethods inherited from class FormattablecleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKTMethods inherited from interface MathTransformtoWKT, transform, transform, transform
- 
Constructor Details- 
GeocentricTranslationCreates 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".- Parameters:
- parameters- The Bursa-Wolf parameters to use for initializing the transformation.
 
 
- 
- 
Method Details- 
getParameterDescriptorsReturns the parameter descriptors for this math transform.- Overrides:
- getParameterDescriptorsin class- ProjectiveTransform
- Returns:
- The parameter descriptors for this math transform, or null.
- See Also:
 
- 
getParameterValuesReturns the parameters for this math transform.- Overrides:
- getParameterValuesin class- ProjectiveTransform
- Returns:
- A copy of the parameter values for this math transform.
- See Also:
 
- 
hashCodepublic int hashCode()Returns a hash value for this transform. This value need not remain consistent between different implementations of the same class.- Overrides:
- hashCodein class- ProjectiveTransform
 
- 
equalsCompares the specified object with this math transform for equality.- Overrides:
- equalsin class- ProjectiveTransform
- Parameters:
- object- The object to compare with this transform.
- Returns:
- trueif the given object is a transform of the same class and if, given identical source position, the transformed position would be the equals.
 
 
-