Interface ILcdVisibilityComposite

All Known Implementing Classes:
TLcdAverageVisibilityComposite, TLcdMaximalVisibilityComposite, TLcdMinimalVisibilityComposite, TLcdProductVisibilityComposite

public interface ILcdVisibilityComposite

Interface which defines a strategy for compositing visibility values from different viewsheds.

Implementations of this interface should be stateless and thread-safe.

Since:
11.0
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    compose(double aPreviousVisibility, double aCurrentVisibility)
    Performs one compositing step by combining the previously accumulated visibility value with a new value.
    double
    Returns the visibility value with which the compositing should be initialized.
    boolean
    stop(double aVisibility)
    Checks whether additional compositing steps are useful.
  • Method Details

    • initialVisibility

      double initialVisibility()
      Returns the visibility value with which the compositing should be initialized.
      Returns:
      the visibility value with which the compositing should be initialized.
    • compose

      double compose(double aPreviousVisibility, double aCurrentVisibility)
      Performs one compositing step by combining the previously accumulated visibility value with a new value.
      Parameters:
      aPreviousVisibility - the previously accumulated visibility value
      aCurrentVisibility - new visibility value
      Returns:
      the new composited visibility value
    • stop

      boolean stop(double aVisibility)
      Checks whether additional compositing steps are useful.
      Parameters:
      aVisibility - the accumulated visibility value so far.
      Returns:
      whether compositing should be terminated