Class TLcdCompositeViewshed

java.lang.Object
com.luciad.tea.viewshed.ALcdCompositeViewshed
com.luciad.tea.viewshed.TLcdCompositeViewshed
All Implemented Interfaces:
ILcdViewshed

public class TLcdCompositeViewshed extends ALcdCompositeViewshed

A concrete implementation of ALcdCompositeViewshed.

Since:
11.0
  • Constructor Details

    • TLcdCompositeViewshed

      public TLcdCompositeViewshed()
      Creates a new empty composite viewshed.
    • TLcdCompositeViewshed

      public TLcdCompositeViewshed(List<ILcdViewshed> aViewshedList)
      Creates a new composite viewshed with the given list of viewsheds to delegate to. All given viewsheds should be defined in the same reference.
      Parameters:
      aViewshedList - a list of viewsheds
  • Method Details

    • getVisibility

      public double getVisibility(ILcdPoint aPoint)
      Description copied from interface: ILcdViewshed
      Returns the visibility of a given point.
      Parameters:
      aPoint - The point to check visibility of. The point must be given in the reference in which the viewshed is defined.
      Returns:
      A double indicating the visibility of the point. This value will be bound between 0 and 1. 0 represents non-visible. 1 represents fully visible. Anything in between 0 and 1 is partially visible, depending on specific cases.
    • getReference

      public ILcdGeoReference getReference()
      Returns the reference in which this viewshed is defined.
      Returns:
      null if this composite viewshed contains no viewsheds; otherwise the common reference of all contained viewsheds.
    • addViewshed

      public void addViewshed(ILcdViewshed aViewshed)
      Adds a viewshed to this composite viewshed.
      Parameters:
      aViewshed - a viewshed