|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectFormattable
AbstractMathTransform
MolodenskiTransform
public class MolodenskiTransform
Two- or three-dimensional datum shift using the (potentially abridged) Molodensky transformation. The Molodensky transformation (EPSG code 9604) and the abridged Molodensky transformation (EPSG code 9605) transform two or three dimensional geographic points from one geographic coordinate reference system to another (a datum shift), using three shift parameters (delta X, delta Y, delta Z) and the difference between the semi-major axis and flattenings of the two ellipsoids.
Unlike the Bursa-Wolf 3 parameter method (which acts on geocentric coordinates), this transformation can be performed directly on geographic coordinates.
References:
modules/library/referencing (gt2-referencing.jar) (Maven report) (SVN head)| Nested Class Summary | |
|---|---|
static class |
MolodenskiTransform.Provider
The provider for MolodenskiTransform. |
static class |
MolodenskiTransform.ProviderAbridged
The provider for abridged MolodenskiTransform. |
| Nested classes/interfaces inherited from class AbstractMathTransform |
|---|
AbstractMathTransform.Inverse |
| Constructor Summary | |
|---|---|
MolodenskiTransform(boolean abridged,
double a,
double b,
boolean source3D,
double ta,
double tb,
boolean target3D,
double dx,
double dy,
double dz)
Constructs a Molodenski transform from the specified parameters. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
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. |
int |
getSourceDimensions()
Gets the dimension of input points. |
int |
getTargetDimensions()
Gets the dimension of output points. |
int |
hashCode()
Returns a hash value for this transform. |
MathTransform |
inverse()
Creates the inverse transform of this object. |
void |
transform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
int numPts)
Transforms a list of coordinate point ordinal values. |
void |
transform(float[] srcPts,
int srcOff,
float[] dstPts,
int dstOff,
int numPts)
Transforms a list of coordinate point ordinal values. |
| Methods inherited from class AbstractMathTransform |
|---|
createTransformedShape, derivative, derivative, ensureNonNull, formatWKT, isIdentity, needCopy, rollLongitude, transform, transform |
| Methods inherited from class Formattable |
|---|
toString, toWKT, toWKT, toWKT |
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface MathTransform |
|---|
toWKT |
| Constructor Detail |
|---|
public MolodenskiTransform(boolean abridged,
double a,
double b,
boolean source3D,
double ta,
double tb,
boolean target3D,
double dx,
double dy,
double dz)
abridged - true for the abridged formula, or false for the complete one.a - The source semi-major axis length in meters.b - The source semi-minor axis length in meters.source3D - true if the source has a height.ta - The target semi-major axis length in meters.tb - The target semi-minor axis length in meters.target3D - true if the target has a height.dx - The x translation in meters.dy - The y translation in meters.dz - The z translation in meters.| Method Detail |
|---|
public ParameterDescriptorGroup getParameterDescriptors()
getParameterDescriptors in class AbstractMathTransformnull.OperationMethod.getParameters()public ParameterValueGroup getParameterValues()
getParameterValues in class AbstractMathTransformOperation.getParameterValues()public int getSourceDimensions()
getSourceDimensions in interface MathTransformgetSourceDimensions in class AbstractMathTransformpublic final int getTargetDimensions()
getTargetDimensions in interface MathTransformgetTargetDimensions in class AbstractMathTransform
public void transform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
int numPts)
transform in interface MathTransformsrcPts - the array containing the source point coordinates.srcOff - the offset to the first point to be transformed
in the source array.dstPts - the array into which the transformed point
coordinates are returned. May be the same
than srcPts.dstOff - the offset to the location of the first
transformed point that is stored in the
destination array.numPts - the number of point objects to be transformed.
public void transform(float[] srcPts,
int srcOff,
float[] dstPts,
int dstOff,
int numPts)
transform in interface MathTransformtransform in class AbstractMathTransformsrcPts - the array containing the source point coordinates.srcOff - the offset to the first point to be transformed
in the source array.dstPts - the array into which the transformed point
coordinates are returned. May be the same
than srcPts.dstOff - the offset to the location of the first
transformed point that is stored in the
destination array.numPts - the number of point objects to be transformed.public MathTransform inverse()
inverse in interface MathTransforminverse in class AbstractMathTransformpublic final int hashCode()
hashCode in class AbstractMathTransformpublic final boolean equals(Object object)
equals in class AbstractMathTransform
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||