Package org.esa.snap.core.datamodel
Enum Class GcpGeoCoding.Method
- All Implemented Interfaces:
Serializable
,Comparable<GcpGeoCoding.Method>
,Constable
- Enclosing class:
GcpGeoCoding
Class representing the approximation methods used for the GCP geo-coding.
- Version:
- $Revision$ $Date$
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLinear polynomial.Quadratic polynomial.Cubic polynomial. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the degree of the numerator polynomial.getName()
Returns the name of the approximation method.int
Returns the number of terms for the numerator polynomial.toString()
static GcpGeoCoding.Method
Returns the enum constant of this class with the specified name.static GcpGeoCoding.Method[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POLYNOMIAL1
Linear polynomial. -
POLYNOMIAL2
Quadratic polynomial. -
POLYNOMIAL3
Cubic polynomial.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
Returns the name of the approximation method.- Returns:
- the name.
-
getDegreeP
public int getDegreeP()Returns the degree of the numerator polynomial.- Returns:
- the degree of the numerator polynomial.
-
getTermCountP
public int getTermCountP()Returns the number of terms for the numerator polynomial.- Returns:
- the number of terms.
-
toString
- Overrides:
toString
in classEnum<GcpGeoCoding.Method>
-