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.
Modifier and Type | Method and Description |
---|---|
ILcdBounds |
getBounds()
Returns the
ILcdBounds by which the geometry of this ILcdBounded object
is bounded. |
ILcdVisibilityMatrixView |
getObservationResult()
Returns the result of the observation.
|
TLcdDomainObjectContext |
getObservee()
Returns the object under observation
|
TLcdCoverageAltitudeMode |
getObserveeCoverageAltitudeMode()
Returns the altitude mode indicating how to interpret the Z-values of the observee shape.
|
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. |
List<TLcyShapeObserver> |
getObservers()
Returns the list of observers
|
public List<TLcyShapeObserver> getObservers()
public TLcdDomainObjectContext getObservee()
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:
getObserveeCoverageAltitudeMode()
.The returned shape should not be modified.
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.
getObserveeShape()
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.
null
when no results are available (yet).
This can be because the result is still being calculated, or because errors happened during the calculation.public ILcdBounds getBounds()
ILcdBounded
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
.
getBounds
in interface ILcdBounded
ILcdBounds
by which the geometry of this ILcdBounded
object
is bounded.