|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectFormattableObject
AbstractMathTransform
ProjectiveTransform
GeocentricAffineTransform
@Immutable public class GeocentricAffineTransform
An affine transform applied on geocentric coordinates. This transform is a step in a datum shift transformation chain. It is typically used for geocentric translation, but a rotation can also be applied.
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 |
See any of the following providers for a list of programmatic parameters:
The conversion between geographic and geocentric coordinates is usually not part of this transform. However the Geotk implementation accepts the following extensions:
"src_semi_major" and "src_semi_minor" parameters are provided, then
a "Ellipsoid_To_Geocentric" transform is concatenated before this transform."tgt_semi_major" and "tgt_semi_minor" parameters are provided, then
a "Geocentric_To_Ellipsoid" transform is concatenated after this transform.
| referencing/geotk-referencing (download) | View source code for this class |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class AbstractMathTransform |
|---|
AbstractMathTransform.Inverse |
| Field Summary |
|---|
| Fields inherited from class FormattableObject |
|---|
EPSG, GEOTIFF, INTERNAL, OGC, SINGLE_LINE |
| Constructor Summary | |
|---|---|
GeocentricAffineTransform(BursaWolfParameters parameters)
Creates a new geocentric affine transform. |
|
GeocentricAffineTransform(BursaWolfParameters parameters,
ParameterDescriptorGroup descriptor)
Creates a new geocentric affine transform using the specified parameter descriptor. |
|
| Method Summary | |
|---|---|
protected int |
computeHashCode()
Computes a hash value for this transform. |
boolean |
equals(Object object,
ComparisonMode mode)
Compares the specified object with this math transform for equality. |
ParameterDescriptorGroup |
getParameterDescriptors()
Returns the parameter descriptors for this math transform. |
ParameterValueGroup |
getParameterValues()
Returns the parameters for this math transform. |
| Methods inherited from class ProjectiveTransform |
|---|
create, create, createScale, createSelectMatrix, createTranslation, derivative, derivative, getMatrix, getSourceDimensions, getTargetDimensions, inverse, isIdentity, isIdentity, transform, transform, transform, transform, transform |
| Methods inherited from class AbstractMathTransform |
|---|
createTransformedShape, ensureNonNull, equals, formatWKT, getName, hashCode, rollLongitude, transform, transform |
| Methods inherited from class FormattableObject |
|---|
getDefaultIndentation, print, setDefaultIndentation, toString, toWKT, toWKT, toWKT |
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface MathTransform |
|---|
toWKT, transform |
| Methods inherited from interface LenientComparable |
|---|
equals |
| Constructor Detail |
|---|
public GeocentricAffineTransform(BursaWolfParameters parameters)
parameters - The Bursa-Wolf parameters to use for initializing the transformation.
public GeocentricAffineTransform(BursaWolfParameters parameters,
ParameterDescriptorGroup descriptor)
parameters - The Bursa-Wolf parameters to use for initializing the transformation.descriptor - The parameter descriptor.| Method Detail |
|---|
public ParameterDescriptorGroup getParameterDescriptors()
getParameterDescriptors in interface ParameterizedgetParameterDescriptors in class ProjectiveTransformnull.OperationMethod.getParameters()public ParameterValueGroup getParameterValues()
getParameterValues in interface ParameterizedgetParameterValues in class ProjectiveTransformSingleOperation.getParameterValues()protected int computeHashCode()
AbstractMathTransform.hashCode()
when first needed.
computeHashCode in class ProjectiveTransform
public boolean equals(Object object,
ComparisonMode mode)
true if the following conditions are meet:
object is an instance of the same class than this. We require the
same class because there is no interface for the various kinds of transform.The parameter values are not compared because subclasses can typically compare those values more efficiently by accessing to their member fields.
equals in interface LinearTransformequals in interface LenientComparableequals in class ProjectiveTransformobject - The object to compare with this transform.mode - The strictness level of the comparison. Default to STRICT.
true if the given object is a transform of the same class and if, given
identical source position, the transformed position would be the equals.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||