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.
Modifier and Type | Method and Description |
---|---|
double |
compose(double aPreviousVisibility,
double aCurrentVisibility)
Performs one compositing step by combining the previously accumulated visibility value with a
new value.
|
double |
initialVisibility()
Returns the visibility value with which the compositing should be initialized.
|
boolean |
stop(double aVisibility)
Checks whether additional compositing steps are useful.
|
double initialVisibility()
double compose(double aPreviousVisibility, double aCurrentVisibility)
aPreviousVisibility
- the previously accumulated visibility valueaCurrentVisibility
- new visibility valueboolean stop(double aVisibility)
aVisibility
- the accumulated visibility value so far.