Class TLcyShapeObservationResult

java.lang.Object
com.luciad.lucy.addons.tea.shapevisibility.TLcyShapeObservationResult
All Implemented Interfaces:
ILcdBounded

public final class TLcyShapeObservationResult extends Object implements ILcdBounded

Domain object representing the result of a visibility calculation between a set of observers and an observed shape.

During the visibility calculations, certain settings are used for each observer and observee. These settings are derived from the ILcyVisibilityCalculationPropertiesProvider which is created in the add-on.

Since:
2019.1
  • Method Details

    • getObservers

      public List<TLcyShapeObserver> getObservers()
      Returns the list of observers
      Returns:
      the list of observers
    • getObservee

      public TLcdDomainObjectContext getObservee()
      Returns the object under observation
      Returns:
      the object under observation
    • getObserveeShape

      public ILcdShape getObserveeShape()

      Returns a shape based on the shape that was created by the TLcyShapeVisibilityAddOn.createObserveeShapeProvider() function for this observee, and which is used in the visibility calculations.

      The returned shape:

      The returned shape should not be modified.

      Returns:
      the shape used in the visibility calculations for this observee
      Since:
      2020.1
    • getObserveeCoverageAltitudeMode

      public TLcdCoverageAltitudeMode getObserveeCoverageAltitudeMode()

      Returns the altitude mode indicating how to interpret the Z-values of the observee shape. This altitude mode is determined by the TLcyShapeVisibilityAddOn.createObserveeShapeProvider() function.

      Returns:
      the altitude mode for the observee shape.
      Since:
      2020.1
      See Also:
    • getObservationResult

      public ILcdVisibilityMatrixView getObservationResult()

      Returns the result of the observation.

      As the calculations happen on a background thread, these results might not be available immediately. Each time a result gets updated, the model containing the result will fire a model change event.

      Returns:
      the result of the observation, or null when no results are available (yet). This can be because the result is still being calculated, or because errors happened during the calculation.
    • getBounds

      public ILcdBounds getBounds()
      Description copied from interface: ILcdBounded
      Returns the ILcdBounds by which the geometry of this ILcdBounded object is bounded.

      If the geometry does not allow retrieving valid bounds (for example a polyline with 0 points) the return value is unspecified. It is highly recommended to return an undefined bounds. You can create undefined bounds using the default constructors of TLcdLonLatBounds or TLcdXYBounds.

      Specified by:
      getBounds in interface ILcdBounded
      Returns:
      the ILcdBounds by which the geometry of this ILcdBounded object is bounded.