org.esa.beam.framework.datamodel
Enum GcpGeoCoding.Method

java.lang.Object
  extended by java.lang.Enum<GcpGeoCoding.Method>
      extended by org.esa.beam.framework.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$
Author:
Ralf Quast

Enum Constant Summary
POLYNOMIAL1
          Linear polynomial.
POLYNOMIAL2
          Quadratic polynomial.
POLYNOMIAL3
          Cubic polynomial.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - 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 class Enum<GcpGeoCoding.Method>


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.