Class PixelInCell

java.lang.Object
org.opengis.util.CodeList<PixelInCell>
org.opengis.referencing.datum.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:
1.0
Version:
3.0
See Also:
  • Field Details

  • Constructor Details

    • PixelInCell

      private PixelInCell(String name)
      Constructs an enum with the given name. The new enum is automatically added to the list returned by values().
      Parameters:
      name - The enum name. This name must not be in use by an other enum of this type.
  • Method Details

    • 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.