|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.referencing.wkt.Formattable
org.geotools.referencing.operation.transform.AbstractMathTransform
org.geotools.referencing.operation.transform.GeocentricTransform
Transforms three dimensional geographic points to geocentric coordinate points. Input points must be longitudes, latitudes and heights above the ellipsoid.
| Nested Class Summary | |
static class |
GeocentricTransform.Provider
The provider for GeocentricTransform. |
static class |
GeocentricTransform.ProviderInverse
The provider for inverse of GeocentricTransform. |
| Constructor Summary | |
GeocentricTransform(double semiMajor,
double semiMinor,
javax.units.Unit units,
boolean hasHeight)
Constructs a transform from the specified parameters. |
|
GeocentricTransform(org.opengis.referencing.datum.Ellipsoid ellipsoid,
boolean hasHeight)
Constructs a transform from the specified ellipsoid. |
|
| Method Summary | |
boolean |
equals(java.lang.Object object)
Compares the specified object with this math transform for equality. |
org.opengis.parameter.ParameterDescriptorGroup |
getParameterDescriptors()
Returns the parameter descriptors for this math transform. |
org.opengis.parameter.ParameterValueGroup |
getParameterValues()
Returns the parameter values for this math transform. |
int |
getSourceDimensions()
Gets the dimension of input points, which is 2 or 3. |
int |
getTargetDimensions()
Gets the dimension of output points, which is 3. |
int |
hashCode()
Returns a hash value for this transform. |
org.opengis.referencing.operation.MathTransform |
inverse()
Returns the inverse of this transform. |
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. |
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. |
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.geotools.referencing.operation.transform.AbstractMathTransform |
createTransformedShape, derivative, derivative, ensureNonNull, formatWKT, getDimSource, getDimTarget, isIdentity, needCopy, rollLongitude, transform, transform |
| Methods inherited from class org.geotools.referencing.wkt.Formattable |
toString, toWKT, toWKT, toWKT |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.opengis.referencing.operation.MathTransform |
toWKT |
| Constructor Detail |
public GeocentricTransform(org.opengis.referencing.datum.Ellipsoid ellipsoid,
boolean hasHeight)
ellipsoid - The ellipsoid.hasHeight - if geographic coordinates
include an ellipsoidal height (i.e. are 3-D),
or if they are only 2-D.
public GeocentricTransform(double semiMajor,
double semiMinor,
javax.units.Unit units,
boolean hasHeight)
semiMajor - The semi-major axis length.semiMinor - The semi-minor axis length.units - The axis units.hasHeight - if geographic coordinates
include an ellipsoidal height (i.e. are 3-D),
or if they are only 2-D.| Method Detail |
public org.opengis.parameter.ParameterDescriptorGroup getParameterDescriptors()
getParameterDescriptors in class AbstractMathTransformOperationMethod.getParameters()public org.opengis.parameter.ParameterValueGroup getParameterValues()
getParameterValues in class AbstractMathTransformOperation.getParameterValues()public int getSourceDimensions()
getSourceDimensions in interface org.opengis.referencing.operation.MathTransformgetSourceDimensions in class AbstractMathTransformpublic final int getTargetDimensions()
getTargetDimensions in interface org.opengis.referencing.operation.MathTransformgetTargetDimensions in class AbstractMathTransform
public void transform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
int numPts)
transform in interface org.opengis.referencing.operation.MathTransform
public void transform(float[] srcPts,
int srcOff,
float[] dstPts,
int dstOff,
int numPts)
transform in interface org.opengis.referencing.operation.MathTransformtransform in class AbstractMathTransform
public void inverseTransform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
int numPts)
public void inverseTransform(float[] srcPts,
int srcOff,
float[] dstPts,
int dstOff,
int numPts)
public org.opengis.referencing.operation.MathTransform inverse()
inverse in interface org.opengis.referencing.operation.MathTransforminverse in class AbstractMathTransformpublic int hashCode()
hashCode in class AbstractMathTransformpublic boolean equals(java.lang.Object object)
equals in class AbstractMathTransform
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||