|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.model.ct.AbstractMathTransform
org.deegree_impl.model.ct.AbridgedMolodenskiTransform
Transforms a three dimensional geographic points using abridged versions of formulas derived by Molodenski.
Nested Class Summary | |
(package private) static class |
AbridgedMolodenskiTransform.Provider
The provider for AbridgedMolodenskiTransform . |
Nested classes inherited from class org.deegree_impl.model.ct.AbstractMathTransform |
AbstractMathTransform.Inverse |
Field Summary | |
private double |
a
Source equatorial radius in meters. |
private double |
adf
Defined as (a*df) + (f*da) . |
private double |
b
Source polar radius in meters |
private double |
da
Difference in the semi-major axes (a1 - a2) of the first and second ellipsoids. |
private double |
df
Difference in the flattening of the two ellipsoids. |
private double |
dx
X,Y,Z shift in meters |
private double |
dy
X,Y,Z shift in meters |
private double |
dz
X,Y,Z shift in meters |
private double |
e2
Square of the eccentricity of the ellipsoid. |
private double |
f
Source flattening factor. |
Constructor Summary | |
protected |
AbridgedMolodenskiTransform(HorizontalDatum source,
HorizontalDatum target)
Construct a transform. |
Method Summary | |
boolean |
equals(java.lang.Object object)
Compares the specified object with this math transform for equality. |
int |
getDimSource()
Gets the dimension of input points, which is 3. |
int |
getDimTarget()
Gets the dimension of output points, which is the same than getDimSource() . |
int |
hashCode()
Returns a hash value for this transform. |
boolean |
isIdentity()
Tests whether this transform does not move any points. |
java.lang.String |
toString()
Returns the WKT for this math transform. |
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 org.deegree_impl.model.ct.AbstractMathTransform |
addParameter, addParameter, createTransformedShape, createTransformedShape, derivative, derivative, getName, inverse, paramMT, toOpenGIS, transform, transform |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private final double dx
private final double dy
private final double dz
private final double a
private final double b
private final double f
private final double da
private final double df
private final double e2
private final double adf
(a*df) + (f*da)
.
Constructor Detail |
protected AbridgedMolodenskiTransform(HorizontalDatum source, HorizontalDatum target)
Method Detail |
public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
transform
in interface MathTransform
srcPts
- 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 MathTransform
transform
in class AbstractMathTransform
public int getDimSource()
getDimSource
in interface MathTransform
CT_MathTransform.getDimSource()
public final int getDimTarget()
getDimSource()
.
getDimTarget
in interface MathTransform
CT_MathTransform.getDimTarget()
public final boolean isIdentity()
false
.
isIdentity
in interface MathTransform
true
if this MathTransform
is
an identity transform; false
otherwise.public final int hashCode()
hashCode
in class AbstractMathTransform
public final boolean equals(java.lang.Object object)
equals
in class AbstractMathTransform
public final java.lang.String toString()
toString
in class AbstractMathTransform
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |