Enum Class PixelInCell
- All Implemented Interfaces:
Serializable
,Comparable<PixelInCell>
,Constable
Whether a "grid to real world" transform gives the coordinates of the cell corner or cell center.
This enumeration is equivalent to a subset of
PixelOrientation
,
but applicable to any number of dimensions.- Since:
- 1.5
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription"Real world" coordinates give the location of the cell center."Real world" coordinates give the location of the cell corner having smallest coordinate values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the identifier declared in the legacy ISO 19111 specification.String[]
names()
Returns all the names of this enumeration value.static PixelInCell
Returns the enum constant of this class with the specified name.static PixelInCell[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CELL_CENTER
"Real world" coordinates give the location of the cell center.- See Also:
-
CELL_CORNER
"Real world" coordinates give the location of the cell corner having smallest coordinate values. For a two-dimensional image having row indices (y coordinates) increasing downward, this the upper-left corner.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
identifier
-
names
Returns all the names of this enumeration value. The returned array contains the name and the identifier.- Returns:
- all names of this constant. This array is never null and never empty.
-