Package com.luciad.tea.viewshed
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 TypeMethodDescriptiondoublecompose(double aPreviousVisibility, double aCurrentVisibility) Performs one compositing step by combining the previously accumulated visibility value with a new value.doubleReturns the visibility value with which the compositing should be initialized.booleanstop(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 valueaCurrentVisibility- 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
-