Package org.esa.snap.core.datamodel
Enum GcpGeoCoding.Method
- java.lang.Object
-
- java.lang.Enum<GcpGeoCoding.Method>
-
- org.esa.snap.core.datamodel.GcpGeoCoding.Method
-
- All Implemented Interfaces:
Serializable
,Comparable<GcpGeoCoding.Method>
- Enclosing class:
- GcpGeoCoding
public static enum GcpGeoCoding.Method extends Enum<GcpGeoCoding.Method>
Class representing the approximation methods used for the GCP geo-coding.- Version:
- $Revision$ $Date$
-
-
Enum Constant Summary
Enum Constants Enum Constant Description POLYNOMIAL1
Linear polynomial.POLYNOMIAL2
Quadratic polynomial.POLYNOMIAL3
Cubic polynomial.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDegreeP()
Returns the degree of the numerator polynomial.String
getName()
Returns the name of the approximation method.int
getTermCountP()
Returns the number of terms for the numerator polynomial.String
toString()
static GcpGeoCoding.Method
valueOf(String name)
Returns the enum constant of this type with the specified name.static GcpGeoCoding.Method[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POLYNOMIAL1
public static final GcpGeoCoding.Method POLYNOMIAL1
Linear polynomial.
-
POLYNOMIAL2
public static final GcpGeoCoding.Method POLYNOMIAL2
Quadratic polynomial.
-
POLYNOMIAL3
public static final GcpGeoCoding.Method POLYNOMIAL3
Cubic polynomial.
-
-
Method Detail
-
values
public static GcpGeoCoding.Method[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GcpGeoCoding.Method c : GcpGeoCoding.Method.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GcpGeoCoding.Method valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
public String 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
public String toString()
- Overrides:
toString
in classEnum<GcpGeoCoding.Method>
-
-