org.deegree.coverage.raster.geom
Enum RasterGeoReference.OriginLocation

java.lang.Object
  extended by java.lang.Enum<RasterGeoReference.OriginLocation>
      extended by org.deegree.coverage.raster.geom.RasterGeoReference.OriginLocation
All Implemented Interfaces:
Serializable, Comparable<RasterGeoReference.OriginLocation>
Enclosing class:
RasterGeoReference

public static enum RasterGeoReference.OriginLocation
extends Enum<RasterGeoReference.OriginLocation>

The OriginLocation defines the mapping location of the world origin to the underlying raster.

Version:
$Revision: 31644 $, $Date: 2011-08-24 22:27:43 +0200 (Wed, 24 Aug 2011) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $

Enum Constant Summary
CENTER
          The origin lies in the middle of a pixel
OUTER
          The origin lies in on the of upper left corner of a pixel
 
Method Summary
static RasterGeoReference.OriginLocation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RasterGeoReference.OriginLocation[] 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

CENTER

public static final RasterGeoReference.OriginLocation CENTER
The origin lies in the middle of a pixel


OUTER

public static final RasterGeoReference.OriginLocation OUTER
The origin lies in on the of upper left corner of a pixel

Method Detail

values

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

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

valueOf

public static RasterGeoReference.OriginLocation 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


Copyright © 2011. All Rights Reserved.