org.opengis.referencing.datum
Class PixelInCell

Object
  extended by CodeList<PixelInCell>
      extended by PixelInCell
All Implemented Interfaces:
Serializable, Comparable<PixelInCell>

@UML(identifier="CD_PixelInCell",
     specification=ISO_19111)
public final class PixelInCell
extends CodeList<PixelInCell>

Specification of the way the image grid is associated with the image data attributes.

This code list is similar to PixelOrientation except that the later is more clearly restricted to the two-dimensional case.

Since:
GeoAPI 1.0
Author:
Martin Desruisseaux (IRD)
See Also:
Serialized Form

Field Summary
static PixelInCell CELL_CENTER
          The origin of the image coordinate system is the centre of a grid cell or image pixel.
static PixelInCell CELL_CORNER
          The origin of the image coordinate system is the corner of a grid cell, or half-way between the centres of adjacent image pixels.
 
Method Summary
 PixelInCell[] family()
          Returns the list of enumerations of the same kind than this enum.
static PixelInCell valueOf(String code)
          Returns the pixel in cell that matches the given string, or returns a new one if none match it.
static PixelInCell[] values()
          Returns the list of PixelInCells.
 
Methods inherited from class CodeList
compareTo, equals, identifier, matches, name, ordinal, readResolve, toString, valueOf
 
Methods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CELL_CENTER

@UML(identifier="cell center",
     obligation=CONDITIONAL,
     specification=ISO_19111)
public static final PixelInCell CELL_CENTER
The origin of the image coordinate system is the centre of a grid cell or image pixel.

See Also:
PixelOrientation.CENTER

CELL_CORNER

@UML(identifier="cell corner",
     obligation=CONDITIONAL,
     specification=ISO_19111)
public static final PixelInCell CELL_CORNER
The origin of the image coordinate system is the corner of a grid cell, or half-way between the centres of adjacent image pixels.

See Also:
PixelOrientation.LOWER_LEFT
Method Detail

values

public static PixelInCell[] values()
Returns the list of PixelInCells.

Returns:
The list of codes declared in the current JVM.

family

public PixelInCell[] family()
Returns the list of enumerations of the same kind than this enum.

Specified by:
family in class CodeList<PixelInCell>
Returns:
The codes of the same kind than this code.

valueOf

public static PixelInCell valueOf(String code)
Returns the pixel in cell that matches the given string, or returns a new one if none match it.

Parameters:
code - The name of the code to fetch or to create.
Returns:
A code matching the given name.


Copyright © 1996-2014 Geotools. All Rights Reserved.