Class 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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PixelInCellThe origin of the image coordinate system is the centre of a grid cell or image pixel.static final PixelInCellThe 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
Modifier and TypeMethodDescriptionfamily()Returns the list of enumerations of the same kind than this enum.static PixelInCellReturns the pixel in cell that matches the given string, or returns a new one if none match it.static PixelInCell[]values()Returns the list ofPixelInCells.
-
Field Details
-
CELL_CENTER
@UML(identifier="cell center", obligation=CONDITIONAL, specification=ISO_19111) public static final PixelInCell CELL_CENTERThe origin of the image coordinate system is the centre of a grid cell or image pixel.- See Also:
-
CELL_CORNER
@UML(identifier="cell corner", obligation=CONDITIONAL, specification=ISO_19111) public static final PixelInCell CELL_CORNERThe 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:
-
-
Method Details
-
values
Returns the list ofPixelInCells.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind than this enum.- Specified by:
familyin classCodeList<PixelInCell>- Returns:
- The codes of the same kind than this code.
-
valueOf
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.
-