| org.geotools.referencing.operation.transform.AbstractMathTransform org.geotools.referencing.operation.transform.GeocentricTransform
GeocentricTransform | public class GeocentricTransform extends AbstractMathTransform implements Serializable(Code) | | Transforms three dimensional
points to
coordinate points. Input points must be longitudes, latitudes and heights above the ellipsoid.
since: 2.0 version: $Id: GeocentricTransform.java 24384 2007-02-14 00:23:05Z desruisseaux $ author: Frank Warmerdam author: Martin Desruisseaux |
Inner Class :public static class ProviderInverse extends Provider | |
Constructor Summary | |
public | GeocentricTransform(Ellipsoid ellipsoid, boolean hasHeight) Constructs a transform from the specified ellipsoid.
Parameters: ellipsoid - The ellipsoid. Parameters: hasHeight - true if geographic coordinatesinclude an ellipsoidal height (i.e. | public | GeocentricTransform(double semiMajor, double semiMinor, Unit units, boolean hasHeight) Constructs a transform from the specified parameters.
Parameters: semiMajor - The semi-major axis length. Parameters: semiMinor - The semi-minor axis length. Parameters: units - The axis units. Parameters: hasHeight - true if geographic coordinatesinclude an ellipsoidal height (i.e. |
Method Summary | |
public boolean | equals(Object object) Compares the specified object with this math transform for equality. | public ParameterDescriptorGroup | getParameterDescriptors() Returns the parameter descriptors for this math transform. | public ParameterValueGroup | getParameterValues() Returns the parameter values for this math transform. | public int | getSourceDimensions() Gets the dimension of input points, which is 2 or 3. | final public int | getTargetDimensions() Gets the dimension of output points, which is 3. | public int | hashCode() Returns a hash value for this transform. | public MathTransform | inverse() Returns the inverse of this transform. | public 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. | public 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. | public 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. | public 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. |
GeocentricTransform | public GeocentricTransform(Ellipsoid ellipsoid, boolean hasHeight)(Code) | | Constructs a transform from the specified ellipsoid.
Parameters: ellipsoid - The ellipsoid. Parameters: hasHeight - true if geographic coordinatesinclude an ellipsoidal height (i.e. are 3-D),or false if they are only 2-D. |
GeocentricTransform | public GeocentricTransform(double semiMajor, double semiMinor, Unit units, boolean hasHeight)(Code) | | Constructs a transform from the specified parameters.
Parameters: semiMajor - The semi-major axis length. Parameters: semiMinor - The semi-minor axis length. Parameters: units - The axis units. Parameters: hasHeight - true if geographic coordinatesinclude an ellipsoidal height (i.e. are 3-D),or false if they are only 2-D. |
equals | public boolean equals(Object object)(Code) | | Compares the specified object with this math transform for equality.
|
getParameterDescriptors | public ParameterDescriptorGroup getParameterDescriptors()(Code) | | Returns the parameter descriptors for this math transform.
|
getParameterValues | public ParameterValueGroup getParameterValues()(Code) | | Returns the parameter values for this math transform.
A copy of the parameter values for this math transform. |
getSourceDimensions | public int getSourceDimensions()(Code) | | Gets the dimension of input points, which is 2 or 3.
|
getTargetDimensions | final public int getTargetDimensions()(Code) | | Gets the dimension of output points, which is 3.
|
hashCode | public int hashCode()(Code) | | Returns a hash value for this transform.
|
inverse | public MathTransform inverse()(Code) | | Returns the inverse of this transform.
|
inverseTransform | public void inverseTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)(Code) | | Converts geocentric coordinates (x, y, z) to geodetic coordinates
(longitude, latitude, height), according to the current ellipsoid
parameters. The method used here is derived from "An Improved
Algorithm for Geocentric to Geodetic Coordinate Conversion", by
Ralph Toms, Feb 1996.
|
inverseTransform | public void inverseTransform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)(Code) | | Converts geocentric coordinates (x, y, z) to geodetic coordinates
(longitude, latitude, height), according to the current ellipsoid
parameters. The method used here is derived from "An Improved
Algorithm for Geocentric to Geodetic Coordinate Conversion", by
Ralph Toms, Feb 1996.
|
transform | public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)(Code) | | Converts geodetic coordinates (longitude, latitude, height) to geocentric
coordinates (x, y, z) according to the current ellipsoid parameters.
|
transform | public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)(Code) | | Converts geodetic coordinates (longitude, latitude, height) to geocentric
coordinates (x, y, z) according to the current ellipsoid parameters.
|
Methods inherited from org.geotools.referencing.operation.transform.AbstractMathTransform | MathTransform concatenate(MathTransform other, boolean applyOtherFirst)(Code)(Java Doc) public Shape createTransformedShape(Shape shape) throws TransformException(Code)(Java Doc) final Shape createTransformedShape(Shape shape, AffineTransform preTransform, AffineTransform postTransform, int orientation) throws TransformException(Code)(Java Doc) public Matrix derivative(Point2D point) throws TransformException(Code)(Java Doc) public Matrix derivative(DirectPosition point) throws TransformException(Code)(Java Doc) protected static void ensureNonNull(String name, Object object) throws IllegalArgumentException(Code)(Java Doc) public boolean equals(Object object)(Code)(Java Doc) protected String formatWKT(Formatter formatter)(Code)(Java Doc) public ParameterDescriptorGroup getParameterDescriptors()(Code)(Java Doc) public ParameterValueGroup getParameterValues()(Code)(Java Doc) abstract public int getSourceDimensions()(Code)(Java Doc) abstract public int getTargetDimensions()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public MathTransform inverse() throws NoninvertibleTransformException(Code)(Java Doc) static Matrix invert(Matrix matrix) throws NoninvertibleTransformException(Code)(Java Doc) public boolean isIdentity()(Code)(Java Doc) protected static boolean needCopy(int srcOff, int dimSource, int dstOff, int dimTarget, int numPts)(Code)(Java Doc) protected static double rollLongitude(double x)(Code)(Java Doc) static GeneralMatrix toGMatrix(Matrix matrix)(Code)(Java Doc) static XMatrix toXMatrix(Matrix matrix)(Code)(Java Doc) public Point2D transform(Point2D ptSrc, Point2D ptDst) throws TransformException(Code)(Java Doc) public DirectPosition transform(DirectPosition ptSrc, DirectPosition ptDst) throws TransformException(Code)(Java Doc) public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) throws TransformException(Code)(Java Doc)
|
|
|