Enum Class Mosaic.GridGeometryPolicy
- All Implemented Interfaces:
Serializable
,Comparable<Mosaic.GridGeometryPolicy>
,Constable
- Enclosing class:
- Mosaic
Enum used for choosing the output
GridGeometry2D
to use and then resampling all the
GridCoverage2D
to its resolution.- Author:
- Nicola Lagomarsini GesoSolutions S.A.S.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Mosaic.GridGeometryPolicy
getPolicyFromString
(String policyString) Static method to use for choosing theMosaic.GridGeometryPolicy
object associated to the input string.abstract Mosaic.ResampledRasters
resampleGridGeometry
(GridCoverage2D[] sources, GridCoverage2D[] alphas, GridGeometry2D external, ParameterValueGroup parameters, Hints hints) Method for resampling the inputGridCoverage2D
objects.static Mosaic.GridGeometryPolicy
Returns the enum constant of this class with the specified name.static Mosaic.GridGeometryPolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIRST
-
FINE
-
COARSE
-
EXTERNAL
-
-
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
-
resampleGridGeometry
public abstract Mosaic.ResampledRasters resampleGridGeometry(GridCoverage2D[] sources, GridCoverage2D[] alphas, GridGeometry2D external, ParameterValueGroup parameters, Hints hints) Method for resampling the inputGridCoverage2D
objects. The output of the method is an object containing the resampledRenderedImage
s and the finalGridGeometry2D
object to use. -
getPolicyFromString
Static method to use for choosing theMosaic.GridGeometryPolicy
object associated to the input string.
-