public enum ShadedReliefAlgorithm extends Enum<ShadedReliefAlgorithm>
Modifier and Type | Class and Description |
---|---|
static class |
ShadedReliefAlgorithm.ShadedReliefParameters |
Enum Constant and Description |
---|
COMBINED |
DEFAULT |
ZEVENBERGEN_THORNE |
ZEVENBERGEN_THORNE_COMBINED |
Modifier and Type | Method and Description |
---|---|
double |
getFactor() |
float |
getValue(double[] window,
ShadedReliefAlgorithm.ShadedReliefParameters params)
Compute the shaded Relief value
|
double |
getX(double[] window) |
double |
getY(double[] window) |
double |
refineValue(double value,
double slope)
Refine value.
|
static ShadedReliefAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShadedReliefAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShadedReliefAlgorithm ZEVENBERGEN_THORNE
public static final ShadedReliefAlgorithm ZEVENBERGEN_THORNE_COMBINED
public static final ShadedReliefAlgorithm DEFAULT
public static final ShadedReliefAlgorithm COMBINED
public static ShadedReliefAlgorithm[] values()
for (ShadedReliefAlgorithm c : ShadedReliefAlgorithm.values()) System.out.println(c);
public static ShadedReliefAlgorithm 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 double getFactor()
public double getX(double[] window)
public double getY(double[] window)
public double refineValue(double value, double slope)
public float getValue(double[] window, ShadedReliefAlgorithm.ShadedReliefParameters params)
Copyright © 2006–2018 GeoSolutions. All rights reserved.