Class ALspHypsometric2DDirectionShader.Builder<B extends ALspHypsometric2DDirectionShader.Builder<B>>
java.lang.Object
com.luciad.tea.lightspeed.hypsometry.ALspHypsometricShader.Builder<B>
com.luciad.tea.lightspeed.hypsometry.ALspHypsometric2DDirectionShader.Builder<B>
- Direct Known Subclasses:
TLspHypsometricOrientationAngleShader.Builder
,TLspHypsometricOrientationShader.Builder
- Enclosing class:
ALspHypsometric2DDirectionShader
public abstract static class ALspHypsometric2DDirectionShader.Builder<B extends ALspHypsometric2DDirectionShader.Builder<B>>
extends ALspHypsometricShader.Builder<B>
Builder for hypsometric shaders based on a 2D reference direction.
- Since:
- 2012.0
-
Method Summary
Modifier and TypeMethodDescriptionall
(ALspHypsometricShader aShader) Sets all parameters on the builder based on the given shader.abstract ALspHypsometric2DDirectionShader
build()
Builds the shader with the set parameters.referenceDirection
(double aX, double aY) Set the reference direction.
-
Method Details
-
referenceDirection
Set the reference direction. This direction is not necessarily normalized.- Parameters:
aX
- the x-coordinate of the directionaY
- the y-coordinate of the direction- Returns:
this
-
all
Description copied from class:ALspHypsometricShader.Builder
Sets all parameters on the builder based on the given shader. This is useful for example to create a new shader that has almost all properties equal to another shader.- Specified by:
all
in classALspHypsometricShader.Builder<B extends ALspHypsometric2DDirectionShader.Builder<B>>
- Parameters:
aShader
- the shader to copy- Returns:
this
-
build
Description copied from class:ALspHypsometricShader.Builder
Builds the shader with the set parameters.- Specified by:
build
in classALspHypsometricShader.Builder<B extends ALspHypsometric2DDirectionShader.Builder<B>>
- Returns:
- the resulting shader
-