Class EarthGravitationalModel.Provider
-
- All Implemented Interfaces:
Serializable
,IdentifiedObject
,OperationMethod
,PROJFormattable
- Enclosing class:
- EarthGravitationalModel
public static class EarthGravitationalModel.Provider extends MathTransformProvider
The provider forEarthGravitationalModel
.- Author:
- Martin Desruisseaux
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class MathTransformProvider
MathTransformProvider.Delegate
-
-
Field Summary
Fields Modifier and Type Field Description static ParameterDescriptor<Integer>
ORDER
The operation parameter descriptor for the maximum degree and order.-
Fields inherited from class DefaultOperationMethod
sourceDimensions, targetDimensions
-
Fields inherited from class AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
-
Fields inherited from class Formattable
SINGLE_LINE
-
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
-
Fields inherited from interface OperationMethod
FORMULA_KEY
-
-
Constructor Summary
Constructors Constructor Description Provider()
Constructs a math transform provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MathTransform
createMathTransform(ParameterValueGroup values)
Creates a math transform from the specified group of parameter values.Class<? extends Transformation>
getOperationType()
Returns the operation type for this transform.-
Methods inherited from class MathTransformProvider
createDescriptor, createDescriptorGroup, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, getParameter, intValue, stringValue, toMap, value
-
Methods inherited from class DefaultOperationMethod
checkDimensions, equals, formatPROJ, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCode
-
Methods inherited from class AbstractIdentifiedObject
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
-
Methods inherited from class Formattable
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
-
Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
-
-
-
Field Detail
-
ORDER
public static final ParameterDescriptor<Integer> ORDER
The operation parameter descriptor for the maximum degree and order. The default value is 180.
-
-
Method Detail
-
getOperationType
public Class<? extends Transformation> getOperationType()
Returns the operation type for this transform.- Overrides:
getOperationType
in classMathTransformProvider
- Returns:
- The GeoAPI interface implemented by this operation.
-
createMathTransform
protected MathTransform createMathTransform(ParameterValueGroup values) throws ParameterNotFoundException, FactoryException
Creates a math transform from the specified group of parameter values.- Specified by:
createMathTransform
in classMathTransformProvider
- Parameters:
values
- The group of parameter values.- Returns:
- The created math transform.
- Throws:
ParameterNotFoundException
- if a required parameter was not found.FactoryException
- if this method failed to load the coefficient file.- See Also:
MathTransformProvider.Delegate
-
-