Class TLspHypsometricOrientationShader
java.lang.Object
com.luciad.tea.lightspeed.hypsometry.ALspHypsometricShader
com.luciad.tea.lightspeed.hypsometry.ALspHypsometric2DDirectionShader
com.luciad.tea.lightspeed.hypsometry.TLspHypsometricOrientationShader
A shader that computes the cosine of the angle between a given reference direction
in the xy plane and the direction of steepest descent. The values lie in the range
[-1, 1]
.
This shader provides similar results to the TLcdHypsometricOrientation
.- Since:
- 2012.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder for orientation shaders. -
Method Summary
Modifier and TypeMethodDescriptionCreates a new builder initialized with all the properties of this shader.double
Returns the maximum hypsometric value that this provider may return.double
Returns the minimum hypsometric value that this provider may return.static TLspHypsometricOrientationShader.Builder
<?> Creates a new builder with the default values.Methods inherited from class com.luciad.tea.lightspeed.hypsometry.ALspHypsometric2DDirectionShader
equals, getReferenceDirectionX, getReferenceDirectionY, hashCode
-
Method Details
-
newBuilder
Creates a new builder with the default values.- Returns:
- the new builder.
-
asBuilder
Creates a new builder initialized with all the properties of this shader.- Specified by:
asBuilder
in classALspHypsometric2DDirectionShader
- Returns:
- the new builder.
-
getMinValue
public double getMinValue()Description copied from class:ALspHypsometricShader
Returns the minimum hypsometric value that this provider may return.- Specified by:
getMinValue
in classALspHypsometricShader
- Returns:
- the minimum hypsometric value
-
getMaxValue
public double getMaxValue()Description copied from class:ALspHypsometricShader
Returns the maximum hypsometric value that this provider may return.- Specified by:
getMaxValue
in classALspHypsometricShader
- Returns:
- the maximum hypsometric value
-