|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.model.csct.ct.AbstractMathTransform
org.deegree.model.csct.ct.GeocentricTransform
class GeocentricTransform
Transforms three dimensional geographic points to geocentric coordinate points. Input points must be longitudes, latitudes and heights above the ellipsoid.
| Nested Class Summary | |
|---|---|
(package private) static class |
GeocentricTransform.Provider
The provider for GeocentricTransform. |
| Constructor Summary | |
|---|---|
protected |
GeocentricTransform(double semiMajor,
double semiMinor,
Unit units,
boolean hasHeight)
Construct a transform. |
protected |
GeocentricTransform(Ellipsoid ellipsoid,
boolean hasHeight)
Construct a transform. |
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Compares the specified object with this math transform for equality. |
int |
getDimSource()
Gets the dimension of input points, which is 2 or 3. |
int |
getDimTarget()
Gets the dimension of output points, which is 3. |
int |
hashCode()
Returns a hash value for this transform. |
MathTransform |
inverse()
Returns the inverse of this transform. |
protected void |
inverseTransform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
int numPts)
Converts geocentric coordinates (x, y, z) to geodetic coordinates (longitude, latitude, height), according to the current ellipsoid parameters. |
protected void |
inverseTransform(float[] srcPts,
int srcOff,
float[] dstPts,
int dstOff,
int numPts)
Converts geocentric coordinates (x, y, z) to geodetic coordinates (longitude, latitude, height), according to the current ellipsoid parameters. |
boolean |
isIdentity()
Tests whether this transform does not move any points. |
String |
toString()
Returns the WKT for this math transform. |
(package private) String |
toString(String classification)
Returns the WKT for this math transform with the specified classification name. |
void |
transform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
int numPts)
Converts geodetic coordinates (longitude, latitude, height) to geocentric coordinates (x, y, z) according to the current ellipsoid parameters. |
void |
transform(float[] srcPts,
int srcOff,
float[] dstPts,
int dstOff,
int numPts)
Converts geodetic coordinates (longitude, latitude, height) to geocentric coordinates (x, y, z) according to the current ellipsoid parameters. |
| Methods inherited from class org.deegree.model.csct.ct.AbstractMathTransform |
|---|
addParameter, addParameter, createTransformedShape, createTransformedShape, derivative, derivative, getName, paramMT, transform, transform |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected GeocentricTransform(Ellipsoid ellipsoid,
boolean hasHeight)
ellipsoid - The ellipsoid.hasHeight - true if geographic coordinates
include an ellipsoidal height (i.e. are 3-D),
or false if they are strictly 2-D.
protected GeocentricTransform(double semiMajor,
double semiMinor,
Unit units,
boolean hasHeight)
semiMajor - The semi-major axis length.semiMinor - The semi-minor axis length.units - The axis units.hasHeight - true if geographic coordinates
include an ellipsoidal height (i.e. are 3-D),
or false if they are strictly 2-D.| Method Detail |
|---|
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.
protected final void inverseTransform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
int numPts)
protected final void inverseTransform(float[] srcPts,
int srcOff,
float[] dstPts,
int dstOff,
int numPts)
public int getDimSource()
getDimSource in interface MathTransformpublic final int getDimTarget()
getDimTarget in interface MathTransformpublic final boolean isIdentity()
false.
isIdentity in interface MathTransformtrue if this MathTransform is an identity transform;
false otherwise.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 AbstractMathTransformpublic final String toString()
toString in class AbstractMathTransformfinal String toString(String classification)
|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net