public class TLspHypsometricSlopeAngleShader extends ALspHypsometric3DDirectionShader
[0, pi/2)
.
This shader is typically useful for computing the slope of the terrain, by using the
reference direction (0, 0, 1). The computed values then correspond to the inclination
of the terrain, ranging from 0 for horizontal terrain, over larger values for increasingly
sloping terrain, to a value of pi/2 (in the limit) for vertical cliffs.
This shader provides similar results to the TLcdHypsometricSlopeAngle
.Modifier and Type | Class and Description |
---|---|
static class |
TLspHypsometricSlopeAngleShader.Builder<B extends TLspHypsometricSlopeAngleShader.Builder<B>>
Builder for slope angle shaders.
|
Modifier and Type | Method and Description |
---|---|
TLspHypsometricSlopeAngleShader.Builder<?> |
asBuilder()
Creates a new builder initialized with all the properties of this shader.
|
double |
getMaxValue()
Returns the maximum hypsometric value that this provider may return.
|
double |
getMinValue()
Returns the minimum hypsometric value that this provider may return.
|
static TLspHypsometricSlopeAngleShader.Builder<?> |
newBuilder()
Creates a new builder with the default values.
|
equals, getReferenceDirectionX, getReferenceDirectionY, getReferenceDirectionZ, hashCode
public static TLspHypsometricSlopeAngleShader.Builder<?> newBuilder()
public TLspHypsometricSlopeAngleShader.Builder<?> asBuilder()
asBuilder
in class ALspHypsometric3DDirectionShader
public double getMinValue()
ALspHypsometricShader
getMinValue
in class ALspHypsometricShader
public double getMaxValue()
ALspHypsometricShader
getMaxValue
in class ALspHypsometricShader