|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectFormattableObject
AbstractMathTransform
VerticalTransform
EarthGravitationalModel
@Immutable public class EarthGravitationalModel
Transforms vertical coordinates using coefficients from the Earth Gravitational Model. See any of the following providers for a list of programmatic parameters:
Note: This class is an adaption of Fortran codeclenqt.forfrom the National Geospatial-Intelligence Agency and available in public domain. The normalized geopotential coefficients file bundled in this module is an adaptation ofegm180.norfile, with some spaces trimmed.
| referencing/geotk-referencing3D (download) | View source code for this class |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class AbstractMathTransform |
|---|
AbstractMathTransform.Inverse |
| Field Summary | |
|---|---|
static int |
DEFAULT_ORDER
The default maximum degree and order, which is 180. |
| Fields inherited from class FormattableObject |
|---|
EPSG, GEOTIFF, INTERNAL, OGC, SINGLE_LINE |
| Constructor Summary | |
|---|---|
protected |
EarthGravitationalModel()
Creates a model for the WGS84 datum with the default maximum degree and order. |
protected |
EarthGravitationalModel(GeodeticDatum datum,
int nmax)
Creates a model for the specified datum and maximum degree and order. |
| Method Summary | |
|---|---|
protected int |
computeHashCode()
Computes a hash value for this transform. |
static EarthGravitationalModel |
create(GeodeticDatum datum,
int nmax)
Creates a model for the specified datum and maximum degree and order. |
boolean |
equals(Object object,
ComparisonMode mode)
Compares this transform with the given object for equality. |
ParameterDescriptorGroup |
getParameterDescriptors()
Returns the parameter descriptors for this math transform. |
ParameterValueGroup |
getParameterValues()
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, transform, transform, transform |
| Methods inherited from class AbstractMathTransform |
|---|
createTransformedShape, derivative, derivative, ensureNonNull, equals, formatWKT, getName, hashCode, inverse, isIdentity, rollLongitude, transform, transform |
| Methods inherited from class FormattableObject |
|---|
getDefaultIndentation, print, setDefaultIndentation, toString, toWKT, toWKT, toWKT, toWKT |
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface MathTransform |
|---|
toWKT |
| Field Detail |
|---|
public static final int DEFAULT_ORDER
| Constructor Detail |
|---|
protected EarthGravitationalModel()
throws FactoryException
FactoryException - If an error occurred while loading the data.
protected EarthGravitationalModel(GeodeticDatum datum,
int nmax)
throws IllegalArgumentException,
FactoryException
datum - The datum for which to create the model.nmax - The maximum degree and order.
IllegalArgumentException - If nmax is not greater than zero,
or if the given datum is not a supported one.
FactoryException - If an error occurred while loading the data.| Method Detail |
|---|
public static EarthGravitationalModel create(GeodeticDatum datum,
int nmax)
throws IllegalArgumentException,
FactoryException
datum - The datum for which to create the model.nmax - The maximum degree and order.
IllegalArgumentException - If nmax is not greater than zero,
or if the given datum is not a supported one.
FactoryException - If an error occurred while loading the data.
public double heightOffset(double longitude,
double latitude,
double height)
heightOffset in class VerticalTransformlongitude - The geodetic longitude, in decimal degrees.latitude - The geodetic latitude, in decimal degrees.height - The height above the ellipsoid in metres.
public ParameterDescriptorGroup getParameterDescriptors()
getParameterDescriptors in interface ParameterizedgetParameterDescriptors in class AbstractMathTransformnull.OperationMethod.getParameters()public ParameterValueGroup getParameterValues()
getParameterValues in interface ParameterizedgetParameterValues in class AbstractMathTransformnull.
Since this method returns a copy of the parameter values, any change to
a value will have no effect on this math transform.SingleOperation.getParameterValues()protected int computeHashCode()
AbstractMathTransform.hashCode()
when first needed.
computeHashCode in class AbstractMathTransform
public boolean equals(Object object,
ComparisonMode mode)
equals in interface LenientComparableequals in class AbstractMathTransformobject - The object to compare with this transform.mode - The strictness level of the comparison. Default to STRICT.
true if the given object is a transform of the same class and if, given
identical source position, the transformed position would be the equals.Utilities.deepEquals(Object, Object, ComparisonMode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||