Enum CoverageDataAlgorithm
- java.lang.Object
-
- java.lang.Enum<CoverageDataAlgorithm>
-
- mil.nga.geopackage.extension.coverage.CoverageDataAlgorithm
-
- All Implemented Interfaces:
Serializable
,Comparable<CoverageDataAlgorithm>
public enum CoverageDataAlgorithm extends Enum<CoverageDataAlgorithm>
Tile Gridded Coverage Data Algorithm interpolation enumeration types- Since:
- 2.0.1
- Author:
- osbornb
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BICUBIC
Considers 16 pixels to interpolate each valueBILINEAR
Performs linear interpolation first in one direction, and then again in the other directionNEAREST_NEIGHBOR
Selects the value of the nearest point and does not consider the values of neighboring points at all
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CoverageDataAlgorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static CoverageDataAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEAREST_NEIGHBOR
public static final CoverageDataAlgorithm NEAREST_NEIGHBOR
Selects the value of the nearest point and does not consider the values of neighboring points at all
-
BILINEAR
public static final CoverageDataAlgorithm BILINEAR
Performs linear interpolation first in one direction, and then again in the other direction
-
BICUBIC
public static final CoverageDataAlgorithm BICUBIC
Considers 16 pixels to interpolate each value
-
-
Method Detail
-
values
public static CoverageDataAlgorithm[] 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 (CoverageDataAlgorithm c : CoverageDataAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoverageDataAlgorithm 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 nameNullPointerException
- if the argument is null
-
-