Package com.luciad.tea.viewshed
Class TLcdDirectionalViewshedObserver
java.lang.Object
com.luciad.tea.viewshed.ALcdViewshedObserver
com.luciad.tea.viewshed.TLcdDirectionalViewshedObserver
Extension of ALcdViewshedObserver
. Defines a viewing direction
for a ILcdViewshed
.
An example use case for a directional observer is to model shadows cast by the sun. In
this approximation, the sun is set at infinite distance, and only a direction is necessary to
calculate the shadows. This direction can be modeled using TLcdDirectionalViewshedObserver
.
The resulting shadows will run parallel with the direction
specified by this viewshed observer.
- Since:
- 11.0
-
Constructor Summary
ConstructorDescriptionTLcdDirectionalViewshedObserver
(ILcdPoint aDirection) Creates a newTLcdDirectionalViewshedObserver
for a given direction. -
Method Summary
Modifier and TypeMethodDescriptionReturns the direction of the viewshed observer, defined in the reference of the viewshed.
-
Constructor Details
-
TLcdDirectionalViewshedObserver
Creates a new
TLcdDirectionalViewshedObserver
for a given direction.- Parameters:
aDirection
- A direction that represents the viewing direction of the observer. The reference of the direction should be defined in the same reference as the viewshed for which it is used.
-
-
Method Details
-
getDirection
Returns the direction of the viewshed observer, defined in the reference of the viewshed.
- Returns:
- an
ILcdPoint
that should be interpreted as a vector direction of the viewshed, defined in the reference of the viewshed.
-