Class TLcdDirectionalViewshedObserver

java.lang.Object
com.luciad.tea.viewshed.ALcdViewshedObserver
com.luciad.tea.viewshed.TLcdDirectionalViewshedObserver

public final class TLcdDirectionalViewshedObserver extends ALcdViewshedObserver

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 Details

    • TLcdDirectionalViewshedObserver

      public TLcdDirectionalViewshedObserver(ILcdPoint aDirection)

      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

      public ILcdPoint 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.