public static enum Mosaic.GridGeometryPolicy extends Enum<Mosaic.GridGeometryPolicy>
GridGeometry2D
to use and then resampling all the
GridCoverage2D
to its resolution.Modifier and Type | Method and Description |
---|---|
static Mosaic.GridGeometryPolicy |
getPolicyFromString(String policyString)
Static method to use for choosing the
Mosaic.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 input
GridCoverage2D objects. |
static Mosaic.GridGeometryPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mosaic.GridGeometryPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mosaic.GridGeometryPolicy FIRST
public static final Mosaic.GridGeometryPolicy FINE
public static final Mosaic.GridGeometryPolicy COARSE
public static final Mosaic.GridGeometryPolicy EXTERNAL
public static Mosaic.GridGeometryPolicy[] values()
for (Mosaic.GridGeometryPolicy c : Mosaic.GridGeometryPolicy.values()) System.out.println(c);
public static Mosaic.GridGeometryPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract Mosaic.ResampledRasters resampleGridGeometry(GridCoverage2D[] sources, GridCoverage2D[] alphas, GridGeometry2D external, ParameterValueGroup parameters, Hints hints)
GridCoverage2D
objects. The output of the method
is an object containing the resampled RenderedImage
s and the final GridGeometry2D
object to use.sources
- alphas
- external
- parameters
- hints
- public static Mosaic.GridGeometryPolicy getPolicyFromString(String policyString)
Mosaic.GridGeometryPolicy
object associated to the
input string.policyString
- Copyright © 1996–2019 Geotools. All rights reserved.