Class TLcyLOSDomainObject
java.lang.Object
com.luciad.lucy.addons.tea.lineofsight.TLcyLOSDomainObject
The domain object holding all the calculation data related to a line-of-sight (LOS) coverage.
It has access to both the ILcdLOSCoverageMatrix
and TLspLOSProperties
objects, and is added to the LOS model.
The TLspLOSProperties
exposes properties that you can change.
Once you have changed them, use setLOSProperties(TLspLOSProperties)
to apply the changes and trigger a calculation update.
The TLcyLOSAddOn
updates the TLspLOSProperties
when:
-
the end-user makes a change through the line-of-sight properties UI panel.
If you replace the UI with a custom UI, it should apply those UI settings using the
setLOSProperties(TLspLOSProperties)
method. -
the domain object for which the line-of-sight is calculated is changed.
To (re)calculate the center point and its altitude mode
the
TLcyLOSAddOn.createCenterPointShapeProvider()
method is used.
Do not change the content of ILcdLOSCoverageMatrix
.
- Since:
- 2019.1
-
Method Summary
Modifier and TypeMethodDescriptionGets the domain object context linked to this LOS domain object.Gets the calculated line-of-sight data.Gets the line-of-sight properties.void
setLOSProperties
(TLspLOSProperties aLOSProperties) Sets the line-of-sight properties.
-
Method Details
-
getDomainObjectContext
Gets the domain object context linked to this LOS domain object.- Returns:
- the domain object context.
-
getLOSCoverageMatrix
Gets the calculated line-of-sight data. This data must only be read.- Returns:
- the calculated line-of-sight data.
-
getLOSProperties
Gets the line-of-sight properties.
The returned instance should not be modified. Instead, create a copy, modify the copy and use the setter to update the properties for this domain object.
- Returns:
- the line-of-sight properties.
-
setLOSProperties
Sets the line-of-sight properties.- Parameters:
aLOSProperties
- the new line-of-sight properties.
-