org.deegree.cs.transformations
Enum SupportedTransformations

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

public enum SupportedTransformations
extends Enum<SupportedTransformations>

The SupportedTransformations enumeration defines currently supported transformations

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
GENERAL_POLYNOMIAL
          The PolynomialTransformation defining the general 2, 3, ... degree polynomial transformation
GEOGRAPHIC_GEOCENTRIC
          The GeocentricTransform going from geographic to geocentric.
HELMERT_3
          The Helmert, transformation with 3 values
HELMERT_7
          The Helmert, transformation with 7 values
LONGITUDE_ROTATION
          The primemeridian rotation going from any to greenwich
NOT_SUPPORTED
          A not supported projection
NTV2
          The ntv2, currently not supported
 
Method Summary
static SupportedTransformations fromCodes(CRSCodeType[] codes)
           
static SupportedTransformations valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SupportedTransformations[] 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

HELMERT_7

public static final SupportedTransformations HELMERT_7
The Helmert, transformation with 7 values


HELMERT_3

public static final SupportedTransformations HELMERT_3
The Helmert, transformation with 3 values


GEOGRAPHIC_GEOCENTRIC

public static final SupportedTransformations GEOGRAPHIC_GEOCENTRIC
The GeocentricTransform going from geographic to geocentric.


LONGITUDE_ROTATION

public static final SupportedTransformations LONGITUDE_ROTATION
The primemeridian rotation going from any to greenwich


GENERAL_POLYNOMIAL

public static final SupportedTransformations GENERAL_POLYNOMIAL
The PolynomialTransformation defining the general 2, 3, ... degree polynomial transformation


NTV2

public static final SupportedTransformations NTV2
The ntv2, currently not supported


NOT_SUPPORTED

public static final SupportedTransformations NOT_SUPPORTED
A not supported projection

Method Detail

values

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

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

valueOf

public static SupportedTransformations 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 SupportedTransformations fromCodes(CRSCodeType[] codes)
Parameters:
codes - to check for.
Returns:
a mapped transformation or NOT_SUPPORTED, never null


Copyright © 2011. All Rights Reserved.