org.deegree.cs.transformations
Enum SupportedTransformationParameters

java.lang.Object
  extended by java.lang.Enum<SupportedTransformationParameters>
      extended by org.deegree.cs.transformations.SupportedTransformationParameters
All Implemented Interfaces:
Serializable, Comparable<SupportedTransformationParameters>

public enum SupportedTransformationParameters
extends Enum<SupportedTransformationParameters>

The SupportedTransformationParameters enumeration defines currently supported transformation parameters

Version:
$Revision: 23348 $, $Date: 2010-03-31 12:17:21 +0200 (Wed, 31 Mar 2010) $
Author:
Rutger Bezema, last edited by: $Author: rbezema $

Enum Constant Summary
GENERIC_POLYNOMIAL_PARAM
          GENERIC transformation parameters are not yet supported.
LONGITUDE_OFFSET
          The longitude offset of a longitude rotation
NOT_SUPPORTED
          A not supported projection parameter.
SCALE_DIFFERENCE
          The Difference of scale of a (3/7) helmert transformation.
X_AXIS_ROTATION
          The X Rotation of a (3/7) helmert transformation.
X_AXIS_TRANSLATION
          The X TRANSLATION of a (3/7) helmert transformation.
Y_AXIS_ROTATION
          The Y Rotation of a (3/7) helmert transformation.
Y_AXIS_TRANSLATION
          The Y TRANSLATION of a (3/7) helmert transformation.
Z_AXIS_ROTATION
          The Z Rotation of a (3/7) helmert transformation.
Z_AXIS_TRANSLATION
          The Z TRANSLATION of a (3/7) helmert transformation.
 
Method Summary
static SupportedTransformationParameters fromCodes(CRSCodeType[] codes)
           
static SupportedTransformationParameters valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SupportedTransformationParameters[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

X_AXIS_TRANSLATION

public static final SupportedTransformationParameters X_AXIS_TRANSLATION
The X TRANSLATION of a (3/7) helmert transformation.


Y_AXIS_TRANSLATION

public static final SupportedTransformationParameters Y_AXIS_TRANSLATION
The Y TRANSLATION of a (3/7) helmert transformation.


Z_AXIS_TRANSLATION

public static final SupportedTransformationParameters Z_AXIS_TRANSLATION
The Z TRANSLATION of a (3/7) helmert transformation.


X_AXIS_ROTATION

public static final SupportedTransformationParameters X_AXIS_ROTATION
The X Rotation of a (3/7) helmert transformation.


Y_AXIS_ROTATION

public static final SupportedTransformationParameters Y_AXIS_ROTATION
The Y Rotation of a (3/7) helmert transformation.


Z_AXIS_ROTATION

public static final SupportedTransformationParameters Z_AXIS_ROTATION
The Z Rotation of a (3/7) helmert transformation.


SCALE_DIFFERENCE

public static final SupportedTransformationParameters SCALE_DIFFERENCE
The Difference of scale of a (3/7) helmert transformation.


LONGITUDE_OFFSET

public static final SupportedTransformationParameters LONGITUDE_OFFSET
The longitude offset of a longitude rotation


GENERIC_POLYNOMIAL_PARAM

public static final SupportedTransformationParameters GENERIC_POLYNOMIAL_PARAM
GENERIC transformation parameters are not yet supported.


NOT_SUPPORTED

public static final SupportedTransformationParameters NOT_SUPPORTED
A not supported projection parameter.

Method Detail

values

public static SupportedTransformationParameters[] 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 (SupportedTransformationParameters c : SupportedTransformationParameters.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SupportedTransformationParameters 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

fromCodes

public static SupportedTransformationParameters fromCodes(CRSCodeType[] codes)
Parameters:
codes - to check for.
Returns:
a mapped transformation or SupportedTransformations.NOT_SUPPORTED, never null


Copyright © 2011. All Rights Reserved.