Class EarthGravitationalModel
Object
Formattable
AbstractMathTransform
VerticalTransform
EarthGravitationalModel
- All Implemented Interfaces:
MathTransform
Transforms vertical coordinates using coefficients from the Earth Gravitational Model.
Aknowledgement
This class is an adaption of Fortran code
clenqt.for
from the National Geospatial-Intelligence Agency and available in public domain. The
normalized geopotential coefficients file bundled in this module is an adaptation of
egm180.nor
file, with some spaces trimmed.
- Since:
- 2.3
- Author:
- Pierre Cardinal, Martin Desruisseaux
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class AbstractMathTransform
AbstractMathTransform.Inverse
-
Field Summary
Fields inherited from class Formattable
SINGLE_LINE
-
Method Summary
Modifier and TypeMethodDescriptionReturns the parameter descriptors for this math transform.Returns the parameters for this math transform.double
heightOffset
(double longitude, double latitude, double height) Returns the value to add to a height above the ellipsoid in order to get a height above the geoid for the specified geographic coordinate.Methods inherited from class VerticalTransform
getSourceDimensions, getTargetDimensions, transform, transform
Methods inherited from class AbstractMathTransform
createTransformedShape, derivative, derivative, ensureNonNull, equals, formatWKT, getName, hashCode, inverse, isIdentity, needCopy, normalizeAngle, rollLongitude, transform, transform, transform, transform
Methods inherited from class Formattable
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
Methods inherited from interface MathTransform
toWKT
-
Method Details
-
heightOffset
public double heightOffset(double longitude, double latitude, double height) throws TransformException Returns the value to add to a height above the ellipsoid in order to get a height above the geoid for the specified geographic coordinate.- Specified by:
heightOffset
in classVerticalTransform
- Parameters:
longitude
- The geodetic longitude, in decimal degrees.latitude
- The geodetic latitude, in decimal degrees.height
- The height above the ellipsoid in metres.- Returns:
- The value to add in order to get the height above the geoid (in metres).
- Throws:
TransformException
- if the offset can't be computed for the specified coordinates.
-
getParameterDescriptors
Returns the parameter descriptors for this math transform.- Overrides:
getParameterDescriptors
in classAbstractMathTransform
- Returns:
- The parameter descriptors for this math transform, or
null
. - See Also:
-
getParameterValues
Returns the parameters for this math transform.- Overrides:
getParameterValues
in classAbstractMathTransform
- Returns:
- A copy of the parameter values for this math transform, or
null
. - See Also:
-